Newbie: datetime conversion question

Carsten Haese carsten at uniqsys.com
Tue Oct 17 09:13:39 EDT 2006


On Tue, 2006-10-17 at 08:49, hg wrote:
> import time
> "%08X"% (int)(time.mktime(time.localtime()))

Have you not had your coffee yet or are you trying to win an obfuscated
python programming competition? ;)

-Carsten





More information about the Python-list mailing list