# Time Library Import Time # threads postpone the time.sleep (. 3 ) # stamp Print (the time.time ()) # Returns the date, time, week Print (The time.strftime ( ' % the Y /% m /% D% H :% M:% S% A ' )) # return time information tuples Print (time.localtime ())
python library of commonly used functions introduction time
Guess you like
Origin www.cnblogs.com/badbadboyyx/p/12180790.html
Recommended
Ranking