python - time模塊簡單介紹

python-time模塊python import time字符串for i in range(5):     print('hello')     time.sleep(0.2)    # time.sleep()停頓多少秒      print(time.ctime())    #生成當地的時間 print(type(time.ctime())) print(time.localtime()
相關文章
相關標籤/搜索