Re: multiplication of lists of strings

2008-03-08 Thread castironpi
On Mar 8, 12:04 pm, [EMAIL PROTECTED] wrote: > On Mar 5, 2:16 am, Bruno Desthuilliers > [EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] a écrit : > > (snip) > > > > That reminds me:  Is there a generic 'relation' pattern/recipie, such > > > as finding a computer that's "paired" with multiple users

Re: multiplication of lists of strings

2008-03-08 Thread castironpi
On Mar 5, 2:16 am, Bruno Desthuilliers wrote: > [EMAIL PROTECTED] a écrit : > (snip) > > > That reminds me:  Is there a generic 'relation' pattern/recipie, such > > as finding a computer that's "paired" with multiple users, each of who > > are "paired" with multiple computers, without maintaining

Re: multiplication of lists of strings

2008-03-05 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : (snip) > > That reminds me: Is there a generic 'relation' pattern/recipie, such > as finding a computer that's "paired" with multiple users, each of who > are "paired" with multiple computers, without maintaining dual- > associativity? > Yes : use a relational databas

Re: multiplication of lists of strings

2008-03-04 Thread castironpi
On Mar 4, 9:46 pm, Jason Galyon <[EMAIL PROTECTED]> wrote: > Gabriel Genellina wrote: > > En Tue, 04 Mar 2008 23:50:49 -0200, Jason <[EMAIL PROTECTED]> 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

Re: multiplication of lists of strings

2008-03-04 Thread Jason Galyon
Gabriel Genellina wrote: > En Tue, 04 Mar 2008 23:50:49 -0200, Jason <[EMAIL PROTECTED]> 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 ea

Re: multiplication of lists of strings

2008-03-04 Thread Gabriel Genellina
En Tue, 04 Mar 2008 23:50:49 -0200, Jason <[EMAIL PROTECTED]> 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 fo

multiplication of lists of strings

2008-03-04 Thread Jason
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. Here is an example: fruit = ['apple', 'orange'] numbers = ['one', 'two', 'three'] names = ['joe'] Order m