Writing Date & Time to files?

Mark McEahern marklists at mceahern.com
Thu May 9 12:54:45 EDT 2002


[Peter F. Ferris]
> looks to be exactly what I want.  Does Python have any "built in" date /
> time functionality?

import time

mx.DateTime is far superior to that, IMHO.

> Sooo, how can I add the time/date stamp to the "filestrng" 
> string?

str(now())

Cheers,

// mark





More information about the Python-list mailing list