time.strptime() milliseconds

acet adam.the.hammer at gmail.com
Sun Apr 5 14:01:18 EDT 2009


On Apr 5, 6:43 pm, acet <adam.the.ham... at gmail.com> wrote:
> I have a log file with hours,minutes,seconds and milliseconds, which
> im trying to use, so if i say for example:
> a = time.strptime("01:01:26:449", "%H:%M:%S:%?")
> is there a directive for milliseconds where the '?' should be? i cant
> seem to find it if there is

just found : http://bugs.python.org/issue1982



More information about the Python-list mailing list