Johannes Bauer wrote:
Hi group,if I remember correctly, wasn't there a way to quickly iterate through nested loops? Something like a = { "a", "b", "c" } b = { 4, 9, 13} for (x, y) in someoperator(a, b): print(x, y)
from itertools import product a = { "a", "b", "c" } b = { 4, 9, 13} for (x, y) in product(a, b): print(x, y) -- http://mail.python.org/mailman/listinfo/python-list