is there like c# have concurrent list ? 

i find something these, but how can it pass an initlist list variable 

is it doing the same function as itertools.combinations ? 

def comb(n, initlist): # the argument n is the number of items to select 
    res = list(itertools.combinations(initlist, n)) # create a list from the 
iterator 
    return res 

#p = Pool(8) 
#times = range(0, len(initlist)+1)                                              
   
#values = p.map(comb, times) # pass the range as the sequence of arguments! 
#p.close() 
#p.join() 
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to