PyCharm 2019.3 Help

Load code into console

Run source code from the editor in console

  1. Open file in the editor, and select a fragment of code to be executed.

  2. From the context menu of the selection, choose Execute selection in console, or press Shift+Alt+E:
    Context menu for executing the code selection
  3. Watch the code selection execution:

    Execution of the code selection in the console

Last modified: 2 April 2020