PyCharm Operations: Difference between revisions

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


Shift Shift
Shift Shift
=Indent Code in Block=
Select the block then Ctrl + Option (Alt) + I

Revision as of 18:21, 24 April 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 main.py welcome script.

Also see:

Creating a python project manually

Shortcuts

Run the program: Control ⌃ + R

Search Everywhere

Shift Shift

Indent Code in Block

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