Run and rerun applications
With PyCharm, you can run entire applications as well as particular scripts.
PyCharm uses settings that are defined in a Run/debug configurations. All the run configurations that currently exist in a project, are available in the Select Run/Debug Configuration list.
If you want to see the list of all currently running applications, select View running processes section for details.
from the main menu. Refer to theNote that after you've started a run session, the icon in the Run tool window and in the Run/Debug Configuration Selector toggles to to indicate that the run process is active.
Running a script
Choose
on the main menu or press Alt+Shift+F10, and then select the desired run/debug configuration.This way it's possible to run any available run/debug configuration - one has to choose the desired run/debug configuration from the popup menu that shows all the run/debug configurations, existing in a project.
See Using the Run popup menu for details.
For the main clause: In the gutter, click , and choose the desired command.
Choose
from the context menu:Press Ctrl+Shift+F10.
Select the desired module in the Project tool window and choose
from the context menu of the selection.
Using the Run pop-up menu
Invoke the Run popup menu either by choosing the command on the main menu, or by pressingAlt+Shift+F10.
From this popup menu that you can:
Invoke the Edit Configuration dialog.
Edit the selected configuration before launchF4.
Instantly delete a configurationDelete.
Switch from run to debug and vice versa (hold Shift).
Access a previously selected configuration 1.
This popup menu can also be quickly accessed by pressing F9, when you're not running any debug session.
Rerunning applications
In the Run window, select the tab where the desired application is opened.
In the toolbar of the Run window, click the Rerun button , or press Ctrl+F5.