Help with dict and iter

mattia gervaz at gmail.com
Thu Apr 2 22:01:42 CEST 2009


Il Thu, 02 Apr 2009 13:44:38 +0000, Sion Arrowsmith ha scritto:

> mattia  <gervaz at gmail.com> wrote:
>> So, I'm looking for a way to "reset" the next() value every
>>time i complete the scan of a list.
> 
> itertools.cycle ?

Perfect, thanks.



More information about the Python-list mailing list