python 基础 —— 获取当前时间的时间戳

In [1]: import time In [2]: time.time() Out[2]: 1494902382.2486684 In [3]: int(time.time()) Out[3]: 1494902387
相关文章
相关标签/搜索