2019年8月15日
摘要: 线程池/进程池 线程池: from concurrent.futures import ThreadPoolExecutor,ProcessPoolExecutor import time pool = ThreadPoolExecutor(5) # 括号内可以传参数指定线程池内的线程个数 #也可以 阅读全文
posted @ 2019-08-15 21:22 我只想你 阅读(155) 评论(0) 推荐(0) 编辑