Installing Python and Setting Up IDE (VS Code, PyCharm, Jupyter) | Python Course
🐍 Installing Python and Setting Up Your IDE (VS Code, PyCharm, Jupyter)
Introduction
Before you can write powerful Python programs, you first need to install Python on your computer and set up a good environment for coding. In this lesson, we’ll walk step by step through:
-
How to install Python (Windows, Mac, Linux)
-
Setting up your first IDE (VS Code, PyCharm, Jupyter Notebook)
-
Running your first Python program successfully
By the end of this article, you’ll have a working Python setup ready for learning and building projects. 🚀
Step 1: Downloading and Installing Python
🔹 For Windows
-
Go to the official website: https://www.python.org/downloads/.
-
Click Download Python (latest version).
-
Open the installer → Check the box “Add Python to PATH” (important).
-
Click Install Now → Wait for installation to complete.
-
Open Command Prompt (cmd) and type:
If it shows a version (e.g., Python 3.12.0), installation was successful ✅
🔹 For Mac
-
Python is usually pre-installed on macOS.
-
To check, open Terminal and type:
-
If not installed, download it from python.org.
-
Install Homebrew (package manager) for easier updates:
🔹 For Linux
-
Open Terminal and run:
-
Verify installation:
Step 2: Choosing an IDE (Integrated Development Environment)
An IDE is where you write, run, and test your code. Python offers several options:
✅ VS Code (Visual Studio Code)
-
Lightweight, fast, and free.
-
Install from https://code.visualstudio.com.
-
Add the Python extension for syntax highlighting and debugging.
✅ PyCharm (by JetBrains)
-
Powerful IDE, great for large projects.
-
Free Community Edition is enough for beginners.
-
Download from https://www.jetbrains.com/pycharm/.
✅ Jupyter Notebook
-
Best for data science, machine learning, and visualization.
-
Install via pip:
-
Opens in your browser → great for writing code + notes.
Step 3: Running Your First Python Program
Once Python and IDE are ready, let’s write your first script:
Using Command Prompt / Terminal
Using VS Code / PyCharm
-
Create a new file:
first_program.py. -
Paste:
-
Run the file → You should see the output.
Step 4: Testing Your Setup
Run a small calculation program:
If you see correct results, congratulations 🎉 → Your Python setup is ready!
Conclusion
You’ve successfully:
-
Installed Python on your system
-
Chosen an IDE (VS Code, PyCharm, or Jupyter)
-
Run your first Python program
👉 In the next lesson, we’ll dive into Python Basics: Variables and Data Types. This is where real coding begins!
Stay tuned and keep practicing. 🚀

Comments