摘要: 1 import threading,time 2 3 def task(args): 4 time.sleep(1) 5 print(args) 6 7 for i in range(20): 8 t = threading.Thread(target=task,args=[i,]) 9 t.st 阅读全文
posted @ 2017-03-20 14:04 super-sos 阅读(190) 评论(0) 推荐(0) 编辑