PyCharm Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 3: Line 3:
=Overview=
=Overview=
=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_Concepts#Virtual_Environment|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.


=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 22:59, 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


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