Help with dict and iter

Sion Arrowsmith sion at viridian.paintbox
Thu Apr 2 09:44:38 EDT 2009


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 ?

-- 
\S

   under construction




More information about the Python-list mailing list