PyCharm Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:


=Create a PyCharm Project in top of a Manually-Created Project=
=Create a PyCharm Project in top of a Manually-Created Project=
{{Internal|hPython_Project_Layout#Set_the_PyCharm_Project|Python Project Layout | Set the PyCharm Project}}
{{Internal|Python_Project_Layout#Set_the_PyCharm_Project|Python Project Layout | Set the PyCharm Project}}
 
 
 
Python Interpreter: New Virtual environment.
 
New environment using Virtualenv.
 
Location: "venv" inside the project directory.
 
Create <code>main.py</code> welcome script.
 
Also see: {{Internal| Python_Project_Layout#Setting_a_Manual_Project|Creating a python project manually}}


=Shortcuts=
=Shortcuts=

Revision as of 23:00, 15 May 2023

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.

Create a PyCharm Project in top of a Manually-Created Project

Python Project Layout | Set the PyCharm Project

Shortcuts

Run the program: Control ⌃ + R

Search Everywhere

Shift Shift

Indent Code in Block

Select the block then Ctrl + Option (Alt) + I