News for hackers. Stuff that matters.
Re:Python iteration by koenigdavidmj on Wednesday April 25, 2012 @01:03PM (#3889937)
Ah, but this is:

  from itertools import izip
  izip(xrange(len(seq)), seq)
Re:Python iteration by kbd on Wednesday April 25, 2012 @04:10PM (#3890796)
And in Python 3 it's a generator with

    zip(range(len(seq)), seq)