Running a single line of code in PyCharm July 24, 2023 by Tarik ALT+SHIFT+E will execute in console. CTRL+SHIFT+A will let you search for hotkeys.