Where is time.strptime()?
Alex Martelli
aleaxit at yahoo.com
Sat Nov 4 04:11:38 EST 2000
More information about the Python-list mailing list
Sat Nov 4 04:11:38 EST 2000
- Previous message (by thread): Where is time.strptime()?
- Next message (by thread): Where is time.strptime()?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
<jschmitt at vmlabs.com> wrote in message news:8tvoed$cf5$1 at nnrp1.deja.com... > I even looked for a 'time.py' in Python20\Lib and didn't find one. Is > it magic? The time module is written in C...: >>> import time >>> type(time.time) <type 'builtin_function_or_method'> >>> strptime is there if and only if it's supplied by the runtime library of the C compiler used to build Python (it's not a standard part of C, and Microsoft's compiler in particular does not supply it). There are portable implementations of strptime on the net, e.g. http://www.fukt.hk-r.se/~flognat/hacks/strptime.py I think an alternate location for the same file is: http://www.encrypted.net/~jh/python-wiki/moin.cgi/StrptimePy Alex
- Previous message (by thread): Where is time.strptime()?
- Next message (by thread): Where is time.strptime()?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list