Generating list of possible configurations
mensanator at aol.com
Thu Jul 3 15:54:58 CEST 2008
On Jul 3, 2:13�am, Bruno Desthuilliers <bruno.
42.desthuilli... at websiteburo.invalid> wrote:
> Terry Reedy a �crit :
> > Mensanator wrote:
> >> Lookup "Cartesian Product".
> >> for a in [True,False]:
> >> � for b in [True,False]:
> >> � � for c in [1,2,3,4]:
> >> � � � print 'combined settings:',a,'\t',b,'\t',c
> > This has been added to itertools at least for 2.6/3.0
> Great !
Well, it will be great at some point in the future
when Python 2.6/3.0 have actually been released and
third party extensions such as gmpy have caught up.
Until then, such solutions are worthless, i.e., of
More information about the Python-list