问题
I am correctly working with python 2.7 and spyder.
I run my code multiple times to check and debug, but every change I do, I have to run spyder 3 times until I can see that change in the outcome.
For example:
Short code: print "hi"
And then run it, python will print "hi".
Then I change it to print "hello"
and I run it, python still prints "hi" for around the next 2-3 times until it finally prints "hello".
Of course this problem happens with longer and much complex code, and it has become a problem to know whether spyder runs the correct code or the old version.
来源:https://stackoverflow.com/questions/46662854/spyder-didnt-run-update-file