Lecture 2: How to Install and Set Up Python

🔰 Introduction

If you are the line at the beginning of programming language, as long as you have to learn a little English, you can start with the study of Python. Python is like the primary school math exercises, is the best programming language learning starters. It’s accessible, powerful, and is applied everything from automation, to AI, to web development.

But before you write a single line of code, you’ll need to install Python and set it up properly on your machine. In this how-to guide, we will show you how to:

  • Download Python
  • Install it on your Windows PC
  • Get a code editor (we recommend VS Code)

Step 1: Download Python

To install Python, follow these simple steps:

  1. Go to the official website:
    👉 https://www.python.org

  2. Click on the “Downloads” tab.

  3. It will automatically show the latest version for Windows (e.g., Python 3.12.3).

  4. Click the Download Python button.

This will download a .exe setup file to your computer.

💾 Step 2: Install Python on Windows

Download the setup file: Step 1: Download the setup file.

Double click on the installer file to start the installation.

✅ Important Step:

  • On the installation wizard, check the box that says “Add Python to PATH” — this allows Python to be run from the terminal.
  • Click on “Install Now.”
  • Wait until the install is finished. You should see the message:

“Setup was successful.”

Success – Python is now installed on your system.

🔍 Step 3: Verify Python Installation

Go to terminal and type:

🛠 Optional: Use Other IDEs

If you don’t like VS Code, you can try other Python editors:

  • Thonny – Great for complete beginners

  • PyCharm – Powerful IDE for professional development

  • Jupyter Notebook – Ideal for data science and machine learning

Leave a Comment