2022年8月9日
摘要: 创建进程的多种方式 1.创建进程方式一 from multiprocessing import Process import time # 创建进程方式一 def task(name): print(f'子进程{name}开始运行') # 2 子进程lili开始运行 time.sleep(3) pr 阅读全文
posted @ 2022-08-09 23:23 拾荒菇凉 阅读(80) 评论(0) 推荐(0)