[Tutor] python time

Modulok modulok at gmail.com
Sat Nov 28 07:06:49 CET 2009


>> Doesn't time.time return a float?
>>
>> >>> import time
>> >>> help(time.time)
>> Help on built-in function time in module time:
>>
>> time(...)
>>     time() -> floating point number
>>
>>     Return the current time in seconds since the Epoch.
>>     Fractions of a second may be present if the system clock provides
>> them.
>>
>>
>> >>> time.time()
>> 1259288538.576565
>>
>> Right?
>> -Modulok-
>
> For sure, but this wasn't my question. I was precisely asking how python
> does that.

Clearly I have a mighty need to consume more coffee. My apologies for
misreading the original post.
-Modulok-


More information about the Tutor mailing list