Anyone have success w/STRPTIME???

Fredrik Lundh fredrik at pythonware.com
Tue Oct 5 04:54:34 EDT 1999


Benjamin Schollnick <junkster at nospam.rochester.rr.com> wrote:
> Can anyone point me in the right direction, re: STRPTIME?
> 
> To my knowledge the strptime function(s) are correct below,
> yet under both OS/2 & Win NT, I am getting a attribute error.

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

    strptime (string[, format])

    Parse a string representing a time according to
    a format. /.../ This function may not be defined
    on all platforms.

dir(time) will show you if it's defined on your
platform (it's not available on Windows)

</F>





More information about the Python-list mailing list