need to print seconds from the epoch including the millisecond
matt.doolittle33 at gmail.com
matt.doolittle33 at gmail.com
Fri Dec 27 10:43:13 EST 2013
On Thursday, December 26, 2013 8:29:15 PM UTC-5, Roy Smith wrote:
> In article <59aa73ac-e06e-4c0e-83a4-147ac42cad2e at googlegroups.com>,
>
> matt.doolittle33 at gmail.com 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.
>
> > Why is this and what can I do to get the millisecond?
>
>
>
> What operating system are you on? The Python time routines can only
>
> return as much precision as the operating system makes available.
I use Ubuntu 12.10. Thanks!
More information about the Python-list
mailing list