%load_ext autoreload %autoreload 2 详情 https://ipython.org/ipython-doc/3/config/extensions/autoreload.html 转载于:https://www.cnblogs.com/oraser/p/8877121.html