摘要: 1.线程 使用Threading模块中的Thread类来创建线程,如需传递执行的函数的参数,通过Thread的args参数传递即可. import threading import time def worker(): print(f"Thread {threading.current_thread 阅读全文
posted @ 2025-09-29 09:47 三叶草╮ 阅读(13) 评论(0) 推荐(0)