watch this The wheels are turning, slowly turning. home
Things I didn't know Python could do 2004-08-20

>>> class x:
… y = 0

>>> for x.y in range(5):
… print x.y,

0 1 2 3 4
>>>
>>> x = [None]
>>> for x[0] in range(5):
… print x,

[0] [1] [2] [3] [4]
>>>