update module on import to python interpreter

后端 未结 2 1767
傲寒
傲寒 2020-12-21 04:03

In short

How to force python interpreter to load the most up-to-date code version of my module everytime I make some changes in the module code?

2条回答
  •  不思量自难忘°
    2020-12-21 04:07

    Maybe useful for others. In Spyder 3.0.0, the modules can be reloaded by,

    Tools -> Update modules names list.

    It worked for me.

提交回复
热议问题