摘要: ###################### 线程池 ############ from concurrent.futures import ThreadPoolExecutor import time def task(arg): print(arg) time.sleep(1) pool = ThreadPoolExecutor(5) for i in range(50)... 阅读全文
posted @ 2018-06-30 10:40 阜阳小全 阅读(122) 评论(0) 推荐(0) 编辑