Pythonのタイマー

デフfun_timer():
    プリント( 'こんにちは時間!')
    グローバル時間
    H = threading.Timer(3、fun_timer)
    timer.start()
H = threading.Timer(1、fun_timer)
timer.start()

  

おすすめ

転載: www.cnblogs.com/guohu/p/11275364.html