【Python】重载模块 命令窗口中调试代码,往往需要重载模块已进行最新的代码调试。 主要有两种方式: 1. Python shell 窗口 reload(module) 2. ipython 窗口 %load_ext autoreload %autoreload 2