17 May 06:07
datetime syntax error for May 8th and 9th 2008??
From: Che M <pine508 <at> hotmail.com>
Subject: datetime syntax error for May 8th and 9th 2008??
Newsgroups: gmane.comp.python.tutor
Date: 2008-05-17 04:09:03 GMT
Subject: datetime syntax error for May 8th and 9th 2008??
Newsgroups: gmane.comp.python.tutor
Date: 2008-05-17 04:09:03 GMT
Am I missing something? Why does May 7th
and other dates work but I'm getting "invalid
token" for May 8th and 9th? (I have not tested
many other dates of the year in this way) This
is from a freshly begun IDLE session:
IDLE 1.2
>>> import datetime
>>> datetime.datetime(2008,05,07)
datetime.datetime(2008, 5, 7, 0, 0)
>>> datetime.datetime(2008, 05, 08)
SyntaxError: invalid token
>>> datetime.datetime(2008, 05, 09)
SyntaxError: invalid token
Is this a glitch in the Matrix?
Che
E-mail for the greater good. Join the i’m Initiative from Microsoft.
and other dates work but I'm getting "invalid
token" for May 8th and 9th? (I have not tested
many other dates of the year in this way) This
is from a freshly begun IDLE session:
IDLE 1.2
>>> import datetime
>>> datetime.datetime(2008,05,07)
datetime.datetime(2008, 5, 7, 0, 0)
>>> datetime.datetime(2008, 05, 08)
SyntaxError: invalid token
>>> datetime.datetime(2008, 05, 09)
SyntaxError: invalid token
Is this a glitch in the Matrix?
Che
E-mail for the greater good. Join the i’m Initiative from Microsoft.
_______________________________________________ Tutor maillist - Tutor <at> python.org http://mail.python.org/mailman/listinfo/tutor
RSS Feed