PyCharm Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 14: Line 14:
Create <code>main.py</code> welcome script.
Create <code>main.py</code> welcome script.


Also see: {{Internal|Python_Directory_Layout#Setting_a_Manual_Project|Creating a python project manually}}
Also see: {{Internal| Python_Project_Layout#Setting_a_Manual_Project|Creating a python project manually}}


=Shortcuts=
=Shortcuts=


Run the program: Control ⌃ + R
Run the program: Control ⌃ + R

Revision as of 03:46, 24 June 2022

Internal

Overview

Create a Simple, Standalone Project

File → New Project → Location: the project root. If the directory does not exist, it will be created. This is the project that will host the entry point and the virtual environment directory.

Python Interpreter: New Virtual environment.

New environment using Virtualenv.

Location: "venv" inside the project directory.

Create main.py welcome script.

Also see:

Creating a python project manually

Shortcuts

Run the program: Control ⌃ + R