from multiprocessing import Pool def fetch_data(idlist,test): pass p=Pool(4) result=[] for i in range(0,len(idlist)-2,2): result.append(p.apply_async(fetch_data,args=(idlist[i:i+2,test2))) # result.append(apply_async(fetch_data,args=(idlist[i+2:],tes…