摘要: 1、通过线程池 ThreadPoolExecutor 方式实现多线程,同时控制并发数(ProcessPoolExecutor进程池同理) 线程池的基类是 concurrent.futures 模块中的 Executor,Executor 提供了两个子类,即 ThreadPoolExecutor 和 阅读全文
posted @ 2020-06-08 11:33 百老汇大管家 阅读(594) 评论(0) 推荐(0)