我将无限递归函数定义为:>>> f()然后我给这个函数打了电话,结果发生了这样的事情:Traceback (most recent call last>>sys.setrecursionlimit(2147483647) #as 2147483647 is the highest number I can set for recursion in PythonFile "<stdin&
为了提高代码的可读性,假设我将代码逻辑拆分到不同的included.py文件中,即我的主python文件和python文件。我想在主文件中嵌入included.py。我知道可以在main.py上导入它(例如from included import *),但在某些情况下,main.py文件中的对象/类/变量也可能导入到included.py文件中(例如from main