Is there any way to run the function per second in python?

后端 未结 0 509
终归单人心
终归单人心 2020-12-25 10:18

I tried this way but the delay is actually slightly more than one second. the code:

    import time
    from threading import Thread, Timer
    def RepeatedTi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题