iterating over a list as if it were a circular list

Alexander Blinne news at blinne.net
Thu Mar 7 18:50:25 EST 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