472,122 Members | 1,472 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,122 software developers and data experts.

Re: Quick nested loop syntax?

On Nov 19, 5:48*pm, Johannes Bauer <dfnsonfsdu...@gmx.dewrote:
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/itert...rtools.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
Nov 19 '08 #1
0 1944

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by Robin Eidissen | last post: by
9 posts views Thread by Stefan Turalski \(stic\) | last post: by
14 posts views Thread by Jan Schmidt | last post: by
8 posts views Thread by Sheldon | last post: by
3 posts views Thread by Dieter Maurer | last post: by
reply views Thread by Terry Reedy | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.