摘要: import time from concurrent.futures import ThreadPoolExecutor # 导入线程池模块 thread_pool = ThreadPoolExecutor(5) # 设置线程池大小 def main(num): return f"这是第 {num 阅读全文
posted @ 2019-12-13 16:28 屁桃 阅读(343) 评论(0) 推荐(1) 编辑