Re: Syntax Problem with strptime in Python 2.4

2008-09-08 Thread W. eWatson
Diez B. Roggisch wrote: W. eWatson wrote: Apparently, use of strptime of datetime needs a workaround in Python 2.4 to work properly. The workaround is d = datetime.datetime(*(time.strptime(date_string, format)[0:5])). However, when I try to use it, or even use it the regular way, it fails with

Re: Syntax Problem with strptime in Python 2.4

2008-09-08 Thread Diez B. Roggisch
W. eWatson wrote: > Apparently, use of strptime of datetime needs a workaround in Python 2.4 > to work properly. The workaround is d = > datetime.datetime(*(time.strptime(date_string, format)[0:5])). However, > when I try to use it, or even use it the regular way, it fails with > AttributeError: t

Re: Syntax Problem with strptime in Python 2.4

2008-09-08 Thread skip
>> Apparently, use of strptime of datetime needs a workaround in Python >> 2.4 to work properly. The workaround is d = >> datetime.datetime(*(time.strptime(date_string, >> format)[0:5])). However, when I try to use it, or even use it the >> regular way, it fails with AttributeE