[Tutor] strptime

Tim Peters tim.one@comcast.net
Sun, 28 Apr 2002 12:15:32 -0400


[fasal.waseem@cis.co.uk]
> Can any body tell me if strptime is an attribute in 1.5.1 or is there a
> replacement for it, in 1.5.1. Currently we have 1.5.1 on HP server
> (unix) and can not upgrade it.

You should actually ask Hewlett-Packard:  even today, Python supplies
strptime only if the platform C library supplies it, and I presume you're
using HP's C libraries.

You can find pure Python implementations of strptime by doing a google
search on

    Python strptime

You may have to do some work to backport them to 1.5.1.