How to learn Python fundamentals with runnable examples

Learn Pytrail, a progressive Python fundamentals course with Python 3, venv, pytest.

  • Difficulty Intermediate
  • Parts 10
  • Stack Python 3, venv, pytest

What you are learning

Pytrail is a progressive Python fundamentals course. The teaching focus is Python (Python 3, venv, pytest).

Work in order. Early parts set vocabulary and environment; later parts assume the earlier checkpoints.

How to use these lessons

Read the goal, open the matching GitHub folder, complete the lab or exercises, then return for the explanation. If a command fails, check you are in the numbered folder first.

Open the Pytrail GitHub repo →

Parts in order

Each chapter below is one checkpoint in this language course.