PyCharm Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:
Location: "venv" inside the project directory.  
Location: "venv" inside the project directory.  


Create main.py welcome script.
Create <code>main.py</code> welcome script.
 
Also see: {{Internal|Python_Directory_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 00:56, 18 February 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