摘要: 1:启动与停止线程 threading模块 # threading 库可以在单独的线程中执行任何的在 Python 中可以调用的对象。 # 可以创建一个 Thread 对象并将你要执行的对象以 target 参数的形式提供给该对象 # 要在独立线程中执行的代码 import time from th 阅读全文
posted @ 2021-10-27 16:29 至高无上10086 阅读(109) 评论(0) 推荐(0) 编辑