need to print seconds from the epoch including the millisecond

matt.doolittle33 at matt.doolittle33 at
Thu Dec 26 19:32:38 CET 2013

i am using 2.7.   I need to print the time in seconds from the epoch with millisecond precision.  i have tried many things but have failed.  heres my latest:

        from time import time, strftime
        from datetime import datetime, time

        #  write date, time, then seconds from epoch

what am i doing wrong?  what should i be doing here?  Thanks!

More information about the Python-list mailing list