Skip to main content
Loading page…
Python Mastery
Chapter 1
Lesson 2 of 5
Installing Python & Running Your First Program
Contents
Notes
Tutor
Concept
Choosing the Right Python Version
Loading activity…
Previous
1 / 9
Continue
Contents
Notes
Discussion
Tutor
20 min
9 activities
0 of 9 done
In this lesson
1
Choosing the Right Python Version
2
Installation: Step by Step (Windows / macOS / Linux)
3
Verifying Your Python Installation
4
The REPL in Depth
5
Writing and Running a .py Script
6
Write and Run: Hello, Python!
7
Check: The `py` Launcher
8
Pitfall: 'python' Not Found After Installation (Windows)
9
Script vs. REPL: When to Use Which?
Objectives
Install Python 3.11+ on Windows, macOS, or Linux
Verify the installed version from the terminal
Start and use the Python REPL interactively
Write and run a .py script from the command line
Further reading
Download Python
Python on Windows FAQ
Using Python on Unix platforms
Chapter 1 · Getting Started: Your Python Workshop
What Python Is and Why It Wins
Installing Python & Running Your First Program
Terminal Essentials for Developers
A Pro Setup with VS Code, Ruff & uv
Virtual Environments, pip & uv
Previous: What Python Is and Why It Wins
Next: Terminal Essentials for Developers