Return current 11-digit timestamp in Python
How 开发者_JAVA技巧can I return the current time of the local machine?
Do you mean this: time.time()?
From the docs:
Return the time as a floating point number expressed in seconds since the epoch, in UTC
>>> import time
>>> time.time()
1269884900.480978
>>>
精彩评论