Loading

摘要: 创建多线程类 import threading # 引入多线程模块 import time def run(name): print(name,"线程执行了!") time.sleep(5) # 创建2个线程对象 t1 = threading.Thread(target=run,args=("t1" 阅读全文
posted @ 2020-09-07 09:41 Binzichen 阅读(323) 评论(0) 推荐(0) 编辑