sscanf needed
Fredrik Lundh
fredrik at pythonware.com
Sun Apr 17 11:40:05 EDT 2005
Uwe Mayer wrote:
> I've got a ISO 8601 formatted date-time string which I need to read into a
> datetime object.
>>> import time
>>> help(time.strptime)
Help on built-in function strptime in module time:
strptime(...)
strptime(string, format) -> struct_time
Parse a string to a time tuple according to a format specification.
See the library reference manual for formatting codes (same as
strftime()).
</F>
More information about the Python-list
mailing list