python构造方法报错_解决python多线程报错:AttributeError: Can't pickle local object问题
报错信息:Traceback(mostrecentcalllast):File“D:/flaskProject/test.py”,line35,intestpool.apply(self.out,args=(i,))File“Python37-32\lib\multiprocessing\pool.py",line261,inapplyreturnself.apply_async(func,arg