PyCharm 2023.2 Help

Run without any previous configuring

Any executable script can be run in PyCharm. You don't need to create any run/debug configuration in advance. A temporary run/debug configuration is already created for you.

To run any script without creating a run/debug configuration, do one of the following:

  • Right-click an open file in the editor and choose Run <filename> from the context menu.

    Run context menu
  • For the main clause, click the icon Run your application in the gutter and choose Run <script name>.

    Run from the left gutter
  • Press Control+Shift+F10 and select the current file.

    Run popup menu
  • In the Select Run/Debug Configuration list, select Current File, and click App actions execute in the toolbar.

    Run current file
Last modified: 01 July 2022