Hello everyone , I meet you again , I'm your friend, Quan Jun .
python There are default settings for recursion depth , When the recursion level is too deep , exceed 1000 when , Will report a mistake
RecursionError: maximum recursion depth exceeded while calling a Python object
Environmental statement :
win10+python3.6
You can set it as follows :
import sys
sys.setrecursionlimit(1200)
Set recursion depth manually , Found after testing , Maximum upper limit at 8664 about , It may be related to notebook configuration
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/151137.html Link to the original text :https://javaforall.cn