need to print seconds from the epoch including the millisecond
tjreedy at udel.edu
Fri Dec 27 02:03:34 CET 2013
On 12/26/2013 5:48 PM, Dave Angel wrote:
> 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
>> > In : import time
>> > In : time.time()
>> > Out: 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.
With 3.3 and 3.4 on Windows 7, time.time() gives 6 fractional digits.
>>> import time; time.time()
> Specify your os version and python version and somebody will probably
With 2.7, same machine, I only get 3.
Terry Jan Reedy
More information about the Python-list