I am using multiprocessing.Pool()
multiprocessing.Pool()
here is what i want to Pool:
def insert_and_process(file_to_process,db): db = DAL(\"path_to_mysql\
You can use
from functools import partial
library for this purpose
like
func = partial(rdc, lat, lng) r = pool.map(func, range(8))
and
def rdc(lat,lng,x): pass