Newbie: datetime conversion question

hg hg at nospam.com
Tue Oct 17 09:06:19 EDT 2006


Carsten Haese wrote:
> 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
> 
> 
Just one cup

hg



More information about the Python-list mailing list