Skip to content

Learn Python from Zero

A free, text-based Python course for people who have never programmed before. No prior experience needed. Every lesson has short explanations, real code you can run, and exercises with solutions.

Start the course

What you will learn

By the end of the course you will be able to write small but useful Python programs on your own: a number-guessing game, a password generator, a countdown to your own events, and a to-do app that keeps its data in a file, among others. The last module leaves you with a plan for the next one.

Course roadmap

Module Topic Status
0 Start here: setup and how to learn available
1 First steps: printing, variables, math, and if available
2 Working with text available
3 Repeating things with loops available
4 Lists and dictionaries available
5 Functions: your own reusable tools available
6 Working with files available
7 Errors and how to handle them available
8 Modules and the standard library available
9 Project: build a to-do app available
10 Classes and objects (a gentle intro) available
11 Where to go next available

How this course is different

  • Short lessons. Each one takes 10 to 20 minutes.
  • Code first. You run real programs from lesson one.
  • Exercises with answers. Every lesson ends with practice, and every exercise has a solution you can check.
  • Free forever. The whole course is open source. Found a mistake? Use the edit button on any page.