It took me a while to figure out what the "translated" code was trying to do. Here's a quick example that I think accomplishes the same thing:
>>> for i, n in enumerate(x for x in xrange(998) if x % 2 == 0): ... if i == 1: ... print n ... 2 -- http://mail.python.org/mailman/listinfo/python-list