No strptime?

Fredrik Lundh effbot at telia.com
Wed May 3 18:42:52 EDT 2000


Daley, MarkX <markx.daley at intel.com> wrote:
> I couldn't figure out why time.strptime kept returning an attribute error,
> until I imported time and used the dir() function on it.  That function
> wasn't there!  Has it been taken out, or is it just missing from my
install?

http://www.python.org/doc/current/lib/module-time.html
says:

    strptime (string[, format])
    Parse a string representing a time according to a format. /.../
    Availability: Most modern Unix systems.

if it's not there, it's probably not supported on your platform.

</F>

<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->





More information about the Python-list mailing list