PyCharm Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 4: Line 4:
=Create a Simple, Standalone Project=
=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 [[Python_Virtual_Environment#Overview|virtual environment]] directory.
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 [[Python_Virtual_Environment#Overview|virtual environment]] directory.
Python Interpreter: New Virtual environment.
New environment using Virtualenv.
Location: "venv" inside the project directory.


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

Revision as of 23:03, 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.

Python Interpreter: New Virtual environment.

New environment using Virtualenv.

Location: "venv" inside the project 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