A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-December/058903.html below:

[Python-Dev] synchronized enumerate

[Python-Dev] synchronized enumerate [Python-Dev] synchronized enumerateRaymond Hettinger raymond.hettinger at verizon.net
Mon Dec 19 23:33:35 CET 2005
[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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4