Mohammad Moghimi wrote: > Hi there > I wrote a recursive function a got this error how can I increase > maximum recursion depth. And what is its default value? > -- Mohammad > do you Python?!! Start your python interpreter and: >>> import sys >>> sys.getrecursionlimit() 1000 >>> help(sys.setrecursionlimit) HTH, Wolfram