"Backward"-Iterator - Beginners question

Ulrich Goebel ml at fam-goebel.de
Thu Oct 31 17:29:12 EDT 2013


Hallo,

I'm locking for an "iterator" type with not only the .next() method, but 
with a .previous(), .first() and .last() method, so that I can through 
it from the beginning or from the end, and in both directions, even 
alternately (for example two steps forward, one backward, two steps 
forward).

Any help will be wellcome!

Ulrich


-- 
Ulrich Goebel
Paracelsusstr. 120, 53177 Bonn



More information about the Python-list mailing list