need to print seconds from the epoch including the millisecond

Roy Smith roy at
Fri Dec 27 17:27:58 CET 2013

In article <0c33b7e4-edc9-4e1e-b919-fec210c92d4a at>,
 matt.doolittle33 at wrote:

> I am on Ubuntu 12.10.   I am still working with the 2 decimal places. 
> Sometime ago i had this issue and I forget how i solved it. maybe i used 
> datetime? thanks!  

That's strange.  Linux should give you time to the microsecond, or 
something in that range.

Please post the *exact* code you're running.  The code you posted 
earlier is obviously only a fragment of some larger program, so we can 
only guess what's happening.  Assuming your program is in a file called 
"", run the following commands and copy-paste the output:

cat /etc/lsb-release

uname -a

python --version



More information about the Python-list mailing list