PyCharm 3.4.0 Web Help

To run source code from the editor in console
  1. Open file in the editor, and select a fragment of code to be executed.
  2. On the context menu of the selection, choose Execute selection in console, or press Shift+Alt+EShift+Alt+EShift+Alt+EShift+Alt+EShift+Alt+EShift+Alt+ECtrl+Alt+ECtrl+Alt+EShift Alt EShift Alt EShift Alt E.

Note

3.0+
With no selection, the command changes to Execute line in console. Choose this command on the context menu, or press same keyboard shortcut. The line at caret loads into the Python console, and runs.

See Also

External Links:

Web Resources: