The best way to make the modules stick is to build something. These five projects take you from a text adventure game and an object-oriented snake game through a Flask web app with a database, testing with pytest, and finally a full FastAPI API with SQLAlchemy and CI/CD.
Each one is a code-along video, so you can pause, type it out yourself and adapt it to your own ideas. Pick the project that matches the module you've just finished and come back for the rest.
Write your first Python project: a text-based adventure using print, input, conditionals and nested if/else logic, a good drill for the fundamentals.
Build a complete snake game with Pygame, converting the code into classes and adding movement, scoring, game-over logic and sound.
Create a dynamic web application with Flask and a database, with routes, templates, forms and data stored and shown from SQL.
Write tests with pytest: your first tests, class-based tests, fixtures, marks and parametrize, and mocking external dependencies.
Build a complete API with FastAPI and PostgreSQL, work with an ORM, add authentication, then test it and deploy it with a CI/CD pipeline.