Spyder does not run new changes in code

帅比萌擦擦* 提交于 2019-12-11 09:27:46

问题


I am trying to update Python 3.6 code with Spyder 3.2.4 (through Anaconda), but when I make a change to the code that I am working on and attempt to run it, it will run the code that I started the session with. Does anyone know of any solutions to this?


回答1:


change the directory of .py that you are working on. Right click to sample.py(which is above of console) and choose set console working directory. You can apply it for each python file while working on it. I had also same problem and did that , now it is okey.



来源:https://stackoverflow.com/questions/49524514/spyder-does-not-run-new-changes-in-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!