datetime and strptime

Magnus Lie Hetland mlh at furu.idi.ntnu.no
Sat Nov 15 16:59:24 EST 2003


In article <mailman.762.1068928058.702.python-list at python.org>, Gerrit
Holl wrote:
>Hi,
>
>it seems the datetime library does not have a .strptime class method.
[snip]

Have a look at PEP 321:

  http://www.python.org/peps/pep-0321.html

It seems to describe one possible future for the parsing capabilities
of datetime. Under "Generic Input Parsing" the following question is
posed: "Is a strptime() implementation that returns datetime types
sufficient?" No clear answer, though.

-- 
Magnus Lie Hetland                "In this house we obey the laws of
http://hetland.org                 thermodynamics!"    Homer Simpson




More information about the Python-list mailing list