Issue
Currently I am doing some debugging on a script but when I run it the second time I get a false outcome. Now I want to restart the IPython console everytime when I run my script e.i. I want to include it in my script and do it automatically. I already tried to clear and restart my console but that doesn’t work. Has somebody an idea how I can solve this problem?
Thank you for your help!
Solution
Do you want to clear out all variables from previous run when you re-run the script? If yes, you can change the preference settings in Spyder.
Go to Tools > Preferences > Run > Check the box that says "Clear all variables before execution."
Answered By - user6764549
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.