GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • [Python-Dev] Adding start to enumerate()
  • [Python-Dev] Adding start to enumerate()
  • [ date ]
  • [ thread ]
  • [ subject ]
  • [ author ]

This view

  • Original page
  • New address

GeezerVison is showing mail.python.org — [Python-Dev] Adding start to enumerate()

[Python-Dev] Adding start to enumerate()

Terry Reedy tjreedy at udel.edu
Tue May 13 23:09:59 CEST 2008

  • Previous message: [Python-Dev] Adding start to enumerate()
  • Next message: [Python-Dev] Adding start to enumerate()
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

"Duncan Booth" <duncan.booth at suttoncourtenay.org.uk> wrote in message 
news:Xns9A9DA3EB5E8EBduncanrcpcouk at 127.0.0.1...
|
| If you are generating paginated output then a function to generate an
| arbitrary page would likely want to enumerate starting at some value 
larger
| than one.
|
| Of course in that case you'll also want to skip part way through the 
data,
| but I think it is more likely that you'll want to enumerate the partial
| data (e.g. if it is a database query) rather than slice the enumeration.

Not if the data is split across multiple files.  I remember editing and 
printing a book from multiple files.   Decent word processors have an 
option to start page numbering at something other than 1.  Much bigger 
memories perhaps make this less common now.




  • Previous message: [Python-Dev] Adding start to enumerate()
  • Next message: [Python-Dev] Adding start to enumerate()
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the Python-Dev mailing list
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.