谢谢您的链接盖尔!在您的帮助下,我提出了以下解决方案:
from IPython import get_ipythonipython = get_ipython()if '__IPYTHON__' in globals(): ipython.magic('load_ext autoreload') ipython.magic('autoreload 2')
谢谢您的链接盖尔!在您的帮助下,我提出了以下解决方案:
from IPython import get_ipythonipython = get_ipython()if '__IPYTHON__' in globals(): ipython.magic('load_ext autoreload') ipython.magic('autoreload 2')