In [1]: import time
In [2]: time.time()
Out[2]: 1494902382.2486684
In [3]: int(time.time())
Out[3]: 1494902387
python 基础 —— 获取当前时间的时间戳
猜你喜欢
转载自blog.csdn.net/heatdeath/article/details/72236438
今日推荐
周排行