摘要: import time import threading def music(): for i in range(3): print("听音乐。。。") time.sleep(0.5) def coding(): for i in range(3): print("敲代码。。。") time.sle 阅读全文
posted @ 2024-04-17 17:35 宝山方圆 阅读(5) 评论(0) 推荐(0) 编辑
摘要: import multiprocessing as mp import time def music(): for i in range(3): print("听音乐。。。") time.sleep(0.5) def coding(): for i in range(3): print("敲代码。。 阅读全文
posted @ 2024-04-17 17:31 宝山方圆 阅读(6) 评论(0) 推荐(0) 编辑