usage on the time module(newbie)

Dag Sunde dag at orion.no
Wed Jan 24 09:36:33 EST 2001


I strongly reccomend you go to the
"Vaults of Parnassus" and pick up "mxDateTime"...

http://www.vex.net/parnassus/apyllo.py/514463245.769244789

Dag


<fimafeng at my-deja.com> wrote in message news:945neg$72d$1 at nnrp1.deja.com...
> Hello:
>
> I'm having difficulty with the syntax for the function strptime
> in the time module
>
> For instance. If I have a variable....
> fred='Mon Jan 15 00:30:24 2001'
>
> what syntax would I use to parse this into a tuple?
> I have tried
> time.strptime(Mon Jan 15 00:30:24 2001[])
> but I receive an error..
>
> I did not see any examples in the documentation.
>
> Any help is greatly appreciated...
> Thanks,
> Chris
> fimafeng at yahoo.com
>
>
> Sent via Deja.com
> http://www.deja.com/





More information about the Python-list mailing list