摘要:
自己摸索才能真正理解python的threading.Timer()定时器的用法。 首先让我们看下Timer的源码,怎么定义这个定时时间的: 需要操作的任务在达到设置的定时时间还没有结束,调用Timer()中:调用的函数/方法。 class Timer(Thread): """Call a func 阅读全文
posted @ 2021-03-09 16:00
ananmy
阅读(2386)
评论(0)
推荐(0)
浙公网安备 33010602011771号