Get Python installed and running on Windows, macOS or Linux, then write, save and run your first real programs. You will meet the REPL, editors and IDEs, pip and virtual environments, and learn to read error tracebacks. A concrete, step-by-step start that helps prepare for the Python Institute PCEP certification.
Watch the free preview
Installing Python on Windows, macOS and Linux — free to watch, no account needed.
What you'll learn
- Install Python 3.10+ correctly on Windows, macOS or Linux and verify the version
- Use the interactive REPL to evaluate expressions and experiment with code
- Write, save and run a .py script from the terminal and from an editor
- Create and activate a virtual environment and install a package with pip
- Read a Python traceback and locate the line that caused an error
Syllabus
Installing Python & Getting Set Up
Installing Python on Windows, macOS and LinuxFree preview
python vs python3 and checking your version
The Interpreter and the REPL
Meet the REPL — Python's interactive shell
Writing and running your first .py script
Editors, IDEs and the Edit–Run Loop
Choosing an editor — IDLE, VS Code and PyCharm
print(), comments and the edit–run–fix loop
pip, Virtual Environments and Errors
Installing packages with pip and venv
Reading error messages and tracebacks
Lab — 10 Programming Exercises & Solutions
Programming Exercises 1–5
Programming Exercises 6–10