I\'m basically looking for a python version of Combination of List>
Given a list of lists, I need a new list that gives all the possible combin
listOLists = [[1,2,3],[4,5,6],[7,8,9,10]] for list in itertools.product(*listOLists): print list;
I hope you find that as elegant as I did when I first encountered it.