摘要: 线程调用程序如下 import _thread import time def run(num): print(num) for i in range(10): _thread.start_new_thread(run,(i,)) #入参是调用的函数以及传给函数的参数(参数必须是元组,如果只有一个参 阅读全文
posted @ 2025-05-20 17:18 金一九 阅读(17) 评论(0) 推荐(0)