Terry Reedy a écrit :


Mensanator wrote:
(snip)
Lookup "Cartesian Product".
(snip)
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 !
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to