outputting time in microseconds or milliseconds
Skip Montanaro
skip at pobox.com
Fri Aug 2 08:37:45 EDT 2013
Perhaps use datetime?
>>> now = datetime.datetime.now()
>>> now.isoformat()
'2013-08-02T07:37:08.430131'
>>> now.strftime("%f")
'430131'
Skip
More information about the Python-list
mailing list