inaccuracy in the time module

alf ask at me
Mon Sep 4 21:58:50 CEST 2006


Hi,

can someone explane this:

 >>> from time import *
 >>> timezone
18000


 >>> t=time()
 >>> mktime(gmtime(t))-t
17999.680048942566


why there is a difference?

-- 
alf



More information about the Python-list mailing list