首页 > TAG信息列表 > 池传参
python线程池传参demo
import threadpool def hello(name): for i in range(0,5): print(name+str(i)) if __name__ == "__main__": # print(hello("test")) val_pool=[] for i in range(0,2): var_dict={"name":"test"python线程池传参demo
import threadpool def hello(name): for i in range(0,5): print(name+str(i)) if __name__ == "__main__": # print(hello("test")) val_pool=[] for i in range(0,2): var_dict={"name":"test"