> def foo(i): > print i > foo(i+1) > import sys > sys.setrecursionlimit(1000000) > foo(0) This entire thread begs the question: Why are you recursing this deep? It would be faster to iterate. - Josiah