In the Python multiprocessing library, is there a variant of pool.map which supports multiple arguments?
multiprocessing
pool.map
text = "test" def
for python2, you can use this trick
def fun(a,b): return a+b pool = multiprocessing.Pool(processes=6) b=233 pool.map(lambda x:fun(x,b),range(1000))