Module 02 of 11

Installation & Setup

Lessons

About This Module

You can't write Python without Python installed, and you'll write a lot more of it once your editor is set up properly. This module gets your machine ready, whatever operating system you're on, and introduces the habit that keeps every later project clean: the virtual environment.

It starts with installing Python itself on Windows, macOS, or Linux, then covers setting up VS Code with the Python extension so you can write, run, and debug scripts in one place. From there it covers virtual environments and pip — how to keep each project's dependencies isolated from every other project on your machine, and why that matters the moment you're juggling more than one.

Watch the lessons in order, then continue on to Syntax & Basics.

Lessons

4 videos
01

How to Download and Install Python (2026)

A quick, step-by-step walkthrough of downloading and installing the latest version of Python on your system.

02

How to Install the Latest Version of Python (Windows/Mac/Linux)

A step-by-step tutorial covering installation on all three major operating systems, so you can follow along whichever machine you're on.

03

Setup Python in Visual Studio Code | Run First Python Program

Install the Python extension for VS Code, select an interpreter, and run your first "Hello, World!" script from the editor.

04

Python Virtual Environment and pip for Beginners

What a virtual environment is, why every project should have its own, and how to create, activate, and install packages into one with venv and pip.