BackendMastery

Module 4: Python fundamentals

Bazaar's code so far is a few small files. To grow into a real shop (carts, orders, sellers), it needs clean, solid Python. In this module you learn the language from the ground up, always on Bazaar's data: products, prices in paise, carts and invoices. By the end, you build Bazaar v0: a command-line product catalog where you can add, list and search products.

Every lab runs Python 3.13 in a container. The lab folder is shared with your computer, so you write code in VS Code and run it there.

Lessons

  1. Variables and types
  2. Control flow
  3. Functions
  4. Lists, dicts and sets
  5. Comprehensions
  6. Errors and exceptions
  7. Files and JSON
  8. Modules, and Bazaar v0 (the plan's lab: Bazaar v0)

Backend Mastery · a free course · built around one app, Bazaar. Your progress is saved only in this browser.