本文介绍了如何在ipython中重新加载命名空间中的对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将函数导入ipython后,如何在ipython之外修改它们时如何重新加载?
After import functions into ipython, how do I reload them when I have modified them outside of ipython ?
推荐答案
怎么样:
reload(module)
其中module是包含函数的文件
where module is the file with your functions
这篇关于如何在ipython中重新加载命名空间中的对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!