I'm using Spyder via Anaconda on a Mac, and often switch back and forth between the editor and console. I was wondering if there's a keyboard shortcut to switch quickly between these two panes. It's just not quite convenient to do it with the trackpad or mouse.
Once you have it open in your Editor, you can execute it by pressing the green run button. We can see the output in the Python Console [Show IPython console] as well as the path of the file that we are running and the working directory where this code was run.
Go to Preferences -> IPython console -> Startup and select the tickbox next to Open an IPython console at startup. Then click the OK button. The next time Spyder starts, it will show the IPython console automatically.
You can switch between files with CTRL + Pageup / Pagedown , but there is still an open issue with that https://code.google.com/p/spyderlib/issues/detail?id=43. For me it works fine in the currentversion. Both Ctrl + PageUp/Down and Tab works for me.
Spyder Key Combinations Description Keys Close pane ctrl + shift + f4 Lock unlock panes ctrl + shift + f5 Use next layout alt + shift + pagedown 24 more rows ...
Ctrl + . Ctrl + Alt + ↑ Shift + . Is this page helpful? Spyder is an open-source integrated development environment for programming in Python language. It incorporates some of the scientific Python packages such as NumPy, SciPy, Matplotlib, pandas and IPython. Spyder can be extended with first-party and third-party plugins.
matches. Ctrl + . Ctrl + Alt + ↑ Shift + . Is this page helpful? Spyder is an open-source integrated development environment for programming in Python language. It incorporates some of the scientific Python packages such as NumPy, SciPy, Matplotlib, pandas and IPython.
Spyder Keyboard Shortcuts for the Editor under Windows Conventional (more or less) Keyboard Shortcuts Home Go to start of line ... Ctrl + Alt + Up Arrow Duplicate line Miscellaneous Keyboard Shortcuts Tab Indent selected line(s) Shift + Tab Unindent selected line(s)
(On windows you can replace Command with CTRL)
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