need to print seconds from the epoch including the millisecond

Roy Smith roy at panix.com
Fri Dec 27 19:53:33 CET 2013


In article <roy-4A275D.13503227122013 at news.panix.com>,
 Roy Smith <roy at panix.com> wrote:

> self.logfile.write("str=%s, repr=%s", (str(t), repr(t)))

Ugh, make that:

> self.logfile.write("str=%s, repr=%s" % ((str(t), repr(t)))



More information about the Python-list mailing list