PyCharm 2017.2 Help

Loading Code from Editor into Console

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 Ctrl+Alt+E:
    /help/img/idea/2017.2/py_execute_selection_in_console.png
Last modified: 26 October 2017

See Also