[Python-Dev] synchronized enumerate (original) (raw)
Raymond Hettinger raymond.hettinger at verizon.net
Mon Dec 19 23:33:35 CET 2005
- Previous message: [Python-Dev] synchronized enumerate
- Next message: [Python-Dev] Expose Subversion revision number to Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Chris or Leslie Smith]
I see that there is a thread of a similar topic that was posted recently ( enumerate with a start index ) but thought I would start a new thread since what I am suggesting is a little different.
Try rolling your own with izip() and count():
izip(count(start), someslice)
Raymond Hettinger
- Previous message: [Python-Dev] synchronized enumerate
- Next message: [Python-Dev] Expose Subversion revision number to Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]