I had a list of sets. I do not know the length of the list apriori. I wanted to find the Cartesian product of the sets in the list in some code I\'m writing.
For example
Use itertools.product(*list_of_sets).
itertools.product(*list_of_sets)