iterating over a list as if it were a circular list

Alexander Blinne news at blinne.net
Fri Mar 8 00:50:25 CET 2013


Am 08.03.2013 00:49, schrieb Alexander Blinne:
> http://docs.python.org/3/library/itertools.html#itertools.repeat

obviously I was aiming for
http://docs.python.org/2/library/itertools.html#itertools.cycle
here....

Greetings



More information about the Python-list mailing list