ne...@apache.org wrote on Tue, 29 Jun 2010 at 23:22 -0000:
> +  p = Permutations(('A', 'B'), (1, 2, 3), ('-',), (x, y))
> +  print "All items:"
> +  while p.next():
> +    print p.row

Does this duplicate the functionality of itertools.product()?

http://docs.python.org/library/itertools.html?highlight=cartesian

Reply via email to