When I use "run current cell" or "run selection" the compiler print ALL the code it will run to the console and then runs it.
Any way to supress this? I dont want to flood the console with all this non-useful information. I know what code i ran, I don't need it repeated (i just need it to run:).
Option 1 - Select parts of the code and hit F9 This runs the selected code. No surprise there. Hit F9 again, and the same selection is executed once more.
The key to run the current line by itself is F9 . The shortcut ctrl+F10 is used if you are in debugging mode. You can see a list of shortcuts by selecting Preferences in the Tool menu, and then clicking on Keyboard shortcuts .
To run a script in Spyder IDE, there are two options: use the command line option, use runfile in IPython.
(Spyder maintainer here) Sorry, there is no way to not print cells in the IPython console in any version of Spyder 3.
However, we are working to make this possibility available in Spyder 4, to be released in 2019.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With