摘要: https://blog.csdn.net/zkk9527/article/details/88675129 在定义函数时使用*,**是收集参数 在调用函数时使用*,**是分配参数 阅读全文
posted @ 2022-01-23 12:04 djjnet 阅读(107) 评论(0) 推荐(0)
摘要: import threadingimport timeclass MyScheduledTask(threading.Thread): def __init__(self, interval, func, args=[], kwargs={}): super().__init__() self.in 阅读全文
posted @ 2022-01-23 11:53 djjnet 阅读(102) 评论(0) 推荐(0)