multiplication of lists of strings

Jason Galyon jasong at gmail.com
Tue Mar 4 22:46:45 EST 2008


Gabriel Genellina wrote:
> En Tue, 04 Mar 2008 23:50:49 -0200, Jason <jasong at gmail.com> escribió:
> 
>> How could I return a list or tuple of each unique combination of a given
>> set of lists (perhaps from a dict or a list).  This means the number of
>> lists are not known nor is the length of each.
> 
> Use the Google interfase for this group: 
> http://groups.google.com/group/comp.lang.python/
> Type "unique combinations lists" in the text box; press "Search in this 
> group". The very first result contains some answers to your question.
> 
found it, the referenced cookbook recipe is perfect.

Thanks, Gabriel



More information about the Python-list mailing list