Coding Python With PyCharm


PyCharm IDE Introduction

✅ Syntax Tips ✅ Project Management ✅ Code Jump ✅ Code Debugging ✅ Code Tips ✅ Library Collection ✅ Various Plugins ✅ Support Windows | macOS | Linux

PyCharm IDE Download

PyCharm

Install Now

Click the downloaded .exe file "pycharm-community-2022.3.1.exe" on Windows ▷ Select Next...
PyCharm
When you see Create Associates, you can also check ✅ .py.
PyCharm

Open A Project & Interpreter

Open the installed "PyCharm Community Edition 2022.3.1" ▷ Click "New Project"...
PyCharm
Enter the project "Location" ▷ select "Previously configured interpreter" and select [ Python 3.11 ] or others in "Interpreter", as shown in the figure...
PyCharm
If you don't see the desired "Interpreter" ▷ Click "Add Interpreter" ▷ Click "Add Local Interpreter"
PyCharm
Select "System Interpreter"
PyCharm
Click "..." and "Show hidden files" and select the installation directory "...\AppData\Local\Programs\Python\Python311\python.exe".
PyCharm
After selecting the Interpreter ▷ Click "Create" ▷ Will see the installation project SDK...
PyCharm

The First Code “Hello World”

New a HelloWorld.py ▷ "python_code" in the project, right click and select "New" ▷ "Python File"
PyCharm
Enter the code ▷ print("Hello World")
PyCharm
Go Running ▷ "Ctrl + Shift + F10 " or "HelloWorld.py" in the project, right click and select "Run HelloWorld"
PyCharm
Will display "Hello World" in the terminal.
PyCharm