When I run this Python script in Windows, the process grows with no apparent end in sight:
import os
for i in xrange(1000000):
for root, dirs, files in os.walk(r"c:\windows"):
pass
Am I misunderstanding something? (I'm using Python 2.7.3.)