time.strptime(...) Python 1.5.2/Win32 missing ?

Gilles Lenfant glenfant at equod.com.nospam
Wed Dec 13 21:03:30 CET 2000

Where's this function???


>>> import time
>>> print time.__doc__
This module provides various functions to manipulate time values.
strftime() -- convert time tuple to string according to format specification
strptime() -- parse string to time tuple according to format specification
>>> atime = time.strptime('10:20:30', '%H:%M:%S')
Traceback (innermost last):
  File "<pyshell#71>", line 1, in ?
    atime = time.strptime('10:20:30', '%H:%M:%S')
AttributeError: strptime


Seems that there's no time.strptime function! Or did I miss something ?


More information about the Python-list mailing list