摘要: 1.线程池 import time from concurrent.futures import ThreadPoolExecutor def func(n): time.sleep(2) print(n) t_pool = ThreadPoolExecutor(max_workers=5) # 创 阅读全文
posted @ 2020-01-02 19:50 手可摘星辰。 阅读(312) 评论(0) 推荐(0) 编辑