need to print seconds from the epoch including the millisecond
Roy Smith
roy at panix.com
Thu Dec 26 20:29:15 EST 2013
More information about the Python-list mailing list
Thu Dec 26 20:29:15 EST 2013
- Previous message (by thread): need to print seconds from the epoch including the millisecond
- Next message (by thread): need to print seconds from the epoch including the millisecond
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message (by thread): need to print seconds from the epoch including the millisecond
- Next message (by thread): need to print seconds from the epoch including the millisecond
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list