Python多线程多进程池 from concurrent.futures import ThreadPoolExecutor,ProcessPoolExecutor #线程池,进程池 import threading,time def test(i): print(i,threading.current_thread().name)<