<<--B站..........欢迎来到DGX的博客..........GitHub-->>

我的B站
摘要: 使用装饰器开多线程 import time import threading def threadDecorator(func): def wrapper(*args, **kwargs): thread = threading.Thread(target=func, args=args, kwar 阅读全文
posted @ 2021-11-07 19:43 DG息 阅读(387) 评论(0) 推荐(0)