开发者

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
>>> 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜