need to print seconds from the epoch including the millisecond

Dave Angel davea at davea.name
Thu Dec 26 17:48:32 EST 2013


On Thu, 26 Dec 2013 14:06:17 -0800 (PST), matt.doolittle33 at gmail.com 
wrote:
> On Thursday, December 26, 2013 2:22:10 PM UTC-5, Dan Stromberg 
wrote:
> > In [1]: import time
> > In [2]: time.time()
> > Out[2]: 1388085670.1567955

> OK i did what you said but I am only getting 2 decimal places.  

You're probably on Windows,  which does time differently.  Specify 
your os version and python version and somebody will probably know.

-- 
DaveA




More information about the Python-list mailing list