from multiprocessing import Pool def f(x): return x*xpool = Pool(processes=4)r=pool.map(f, range(100)) pool.close() pool.join() 在spyder...
確定! 回上一頁