On Nov 19, 5:48 pm, Johannes Bauer <[EMAIL PROTECTED]> wrote:
> Hi group,
>
> if I remember correctly, wasn't there a way to quickly iterate through
> nested loops? Something like

Python 2.6 has itertools.product:

http://docs.python.org/library/itertools.html#itertools.product

If you don't have Python 2.6 available, then the documentation
above also contains (almost) equivalent Python code that might
work for you.

Mark
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to