Python3中需要使用如下两种方式导入reload: 方式(1) >>> from imp >>> imp.reload(module) 方式(2) >>> from imp import reload >>> reload(module)