Is it possible to get an infinite loop in for loop?
for
My guess is that there can be an infinite for loop in Python. I\'d like to know this for future refe
Why not try itertools.count?
import itertools for i in itertools.count(): print i
which would just start printing numbers from 0 to ...
Try it out.
**I realize I'm a couple of years late but it might help someone else :)