d6

记时  time 计算机领域有一个特殊的时间,叫做epoch,它表示的时间是1970-01-01 00:00:00 UTC。 Python中time模块的一个方法 time.time() 返回的就是从epoch到当前的秒数(不考虑闰秒)。这个值被称为unix时间戳。 time.sleep(secs)     它可以让程序暂停secs秒。例如:   import time print 1 time.
相关文章
相关标签/搜索