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.
相關文章
相關標籤/搜索