π ️ Python Course 2025 – Lesson 2: Installing Python & Setting Up Your First Coding Environment
Welcome to Lesson 2 of the Python Course 2025! π In this lesson, we’ll walk you through installing Python on your system and setting up a professional, beginner-friendly coding environment so you're ready to write your first Python program in the next lesson.
✅ What You’ll Learn Today
- How to download and install Python on Windows
- How to install and use Visual Studio Code (VS Code)
- Alternative: Use Python online without installing anything
π Step 1: Download & Install Python
Head to the official Python website and download the latest version for your OS (Windows/macOS/Linux).
- π Official Python Download Page: https://www.python.org/downloads/
⚠️ Important: During installation, make sure to check the box that says "Add Python to PATH"
before clicking Install.
π» Step 2: Install Visual Studio Code (VS Code)
Visual Studio Code is a powerful code editor that works perfectly with Python. It’s lightweight, fast, and has excellent support for extensions.
- π Official VS Code Download: https://code.visualstudio.com/
Once installed, open VS Code and install the Python extension:
- Click on the Extensions icon in the sidebar
- Search for "Python" by Microsoft
- Click Install
π Alternative: Use Python Online
If you don’t want to install anything right now, try Python directly in your browser using an online editor:
- π§ͺ Replit (Python Environment): https://replit.com/languages/python3
- π Google Colab (for data-focused Python): https://colab.research.google.com/
π¦ Verifying Installation
To check that Python is installed correctly, open the command prompt (Windows) or terminal (Mac/Linux) and type:
python --version
You should see something like: Python 3.12.1
⏱️ Time Required
π Setting up Python + VS Code typically takes 10–15 minutes. Using the online options is even faster.
π₯ Tools You'll Need
- π Python: https://www.python.org/downloads/
- π VS Code: https://code.visualstudio.com/
- π Replit: https://replit.com/languages/python3
- π Google Colab: https://colab.research.google.com/
π Final Words
Awesome! π Now that your Python environment is ready, you're all set to write your first lines of code. In the next lesson, we’ll create your first real Python script and explore how Python executes instructions step by step.
π Coming Next:
Lesson 3: Writing Your First Python Program – Hello, World! ππ