looking for a neat solution to a nested loop problem

Emile van Sebille emile at fenx.com
Mon Aug 6 15:52:46 EDT 2012


On 8/6/2012 12:22 PM Grant Edwards said...
> On 2012-08-06, Tom P <werotizy at freent.dd> wrote:
<snip>
>>    ah, that looks good - I guess it works in 2.x as well?
>
> I don't know.  Let me test that for you...
>
<snip>
>
> Yes, it works in 2.x as well.
>

:)

And from the docs, all the way back to 2.3!

9.7. itertools  Functions creating iterators for efficient looping
New in version 2.3.

Emile




More information about the Python-list mailing list