Paul Rubin wrote:
> alf <[EMAIL PROTECTED]> writes:
> 
>> >>> t=time()
>> >>> mktime(gmtime(t))-t
>>17999.680048942566
>>why there is a difference?
> 
> 
> time() is a floating point number with fractional seconds.
> gmtime()'s resolution is one second.

thx, got it now. replacing with "t=round(time())" fixes the problem.

-- 
Andy
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to