PyCharm 2021.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 then choose Run <filename> from the context menu.

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

    Run from the left gutter
  • Press Ctrl+Shift+F10.

Last modified: 14 April 2021