PyCharm Install and Basic Use

Install

https://www.jetbrains.com/pycharm/download/

Two important :

  1. Add “bin” folder to PATH
  2. Associate .py to pycharm

Start Coding

  1. Create Project : “New project”, choose location, keep the default Project venv
  2. Create a python file on the left windows

Run

Two ways:

  1. image-20260917161519315
  2. First Right Click andimage-20260917161535221

If counter:

image-20260917161609965

Choose the “Create a virtual environment” is ok (If you have installed python)

Use

Bigger the editor

Settings -> General -> Mouse Control

image-20260917161833288

Choose “All editors” is ok.

Full Screen

image-20260917161956270

Fast keys

  • Shift x 2 : Search
  • Crtl + / : Comment

Freopen

1
2
3
4
import sys

sys.stdin = open("input.txt", "r")
sys.stdout = open("output.txt", "w")