Home >Backend Development >Python Tutorial >How to run the code written in pycharm
How to run code in PyCharm: Specify the script to run via the Run/Debug Configuration menu and click Run. Use the keyboard shortcut Ctrl Shift F10 (Windows/Linux) or Cmd Shift F10 (macOS). Right-click the script name and select Run, which opens a console window at the bottom of the project window. If terminal integration is enabled, you can run the script by entering python at the terminal prompt, followed by the script name.
How to run code in PyCharm
Method 1: Run/Debug Configuration
Method 2: Keyboard Shortcuts
Method 3: Console Window
Method 4: Terminal Integration
python
at the terminal prompt and press Enter. python script.py
). Tips:
The above is the detailed content of How to run the code written in pycharm. For more information, please follow other related articles on the PHP Chinese website!