"Backward"-Iterator - Beginners question
Bernd Nawothnig
Bernd.Nawothnig at t-online.de
Thu Oct 31 18:23:44 EDT 2013
On 2013-10-31, Ulrich Goebel wrote:
> 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).
Simply write a class with these methods. Where is the problem?
Bernd
--
no time toulouse
More information about the Python-list
mailing list