mxDateTime: does strptime not exist?
ruediger.maehl at dzsh.de
Thu May 3 09:55:19 CEST 2001
I am trying to convert a string expression into a
DateTime object and found the strptime constructor
in the docs of mxDateTime. But it throws the
following error (and does not show strptime as
available method in PythonWin's Interactive
>>> import DateTime
>>> a = "09:49"
>>> f = "%H:%M"
>>> dt = DateTime.strptime(a, f)
Traceback (innermost last):
File "<interactive input>", line 1, in ?
More information about the Python-list