FW: (no subject)
Inyeol Lee
inyeol.lee at siimage.com
Thu Jun 5 19:22:27 EDT 2003
On Thu, Jun 05, 2003 at 07:12:05PM -0400, Leeds, Mark wrote:
> I have another date question :
>
> Now I have dates that are of the form
>
> 2/14/1980 so
> I tried to read them in using
>
> Temptime = time.strptime(filedate,"%m" + "//" + "%d" + "//" + "%Y") But
> I get some weird error like format mismatch.
>
> Could it be because the date is 2/14 instead of 02/14 ?
>
> This will be my last question about dates.
Use single slash. You don't need to escape it.
More information about the Python-list
mailing list