Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #58207

"Backward"-Iterator - Beginners question

Date 2013-10-31 22:29 +0100
From Ulrich Goebel <ml@fam-goebel.de>
Subject "Backward"-Iterator - Beginners question
Newsgroups comp.lang.python
Message-ID <mailman.1892.1383255282.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

"Backward"-Iterator - Beginners question Ulrich Goebel <ml@fam-goebel.de> - 2013-10-31 22:29 +0100
  Re: "Backward"-Iterator - Beginners question Bernd Nawothnig <Bernd.Nawothnig@t-online.de> - 2013-10-31 23:23 +0100

csiph-web