2 ms·
You can define code cells in Spyder and execute them with a shortcut. I’m on an older version, but for me it’s “# In[]” to start a code block, then shift-enter
by navbaker 6y ago
You can define code cells in Spyder and execute them with a shortcut. I’m on an older version, but for me it’s “# In[]” to start a code block, then shift-enter to execute. -Edit: to clarify, that string starts a code block, which continues until end of file or you designate another block.
Executing the current line or the selected lines is just F9.