问题
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