Intermediate · Included in Ascent
Go beyond the basics: comprehensions, key functions, classes, inheritance, dataclasses, properties, your own exceptions, JSON, dates and generators. Every lesson explains how things work under the hood, and the capstone is a complete rental system.
You've joined Tidewater Bikes, a bike-rental startup on the Porto riverfront, as a junior developer. Inês, the lead developer, reviews your code and has a backlog of real jobs for you, from daily reports to the rental desk itself.
Comprehensions, key functions, flexible arguments and the built-ins professionals use daily.
Model the fleet with classes, special methods, inheritance, dataclasses and properties.
Your own exceptions, JSON, the collections module, dates and generators, then the capstone.
Pass every lesson and the capstone, then the 15-question final quiz, to earn your Python Intermediate certificate with a link anyone can verify.
How to become a Python developer: a realistic roadmap
What a junior Python developer actually does, the skills employers check, the order to learn them in, and how to prove you can do the job without a degree.
Learn Python from scratch: a week-by-week roadmap for beginners
A realistic plan for your first two months of Python: what to learn each week, how much to practise, which mistakes to avoid, and when you're ready for real projects.
Python interview questions for junior developers (with answers)
The Python questions juniors actually get asked: predicting output, mutable defaults, generators, decorators, the GIL, testing and code review, with short answers and why they matter.
Validating input: check once at the boundary, then trust your types
Where to validate data, how to report every problem at once with field paths, and how to write error messages people can act on. With examples in Python.
Python dataclasses, enums and datetimes: modelling a business domain
Model real business data in Python with dataclasses, frozen value objects, StrEnum for fixed choices, type hints checked by mypy, and timezone-aware datetimes.
Testing with pytest: run, read and write Python tests
How to run pytest, read a failing test, select tests with markers and -k, share setup with fixtures, cover many cases with parametrize, and test exceptions.
Reading files and CSV in Python: paths, encodings and DictReader
Open files safely with pathlib and with, choose the right encoding, handle Excel's byte order mark and decimal commas, and read CSV exports with csv.DictReader.
Python's mutable default argument trap (and how to fix it)
Why def f(items=[]) shares one list between every call, how it causes bugs that look impossible, and the None pattern that fixes it, with dataclasses and class attributes too.