Free to read ยท Three levels

Python: from first programs to maintainable systems

A complete bilingual theory course in Python programming, with traced examples, worked exercises, and reliable engineering practices.

18 lessonsEnglish + ArabicContent reviewed
Start learning

In this course

Learn Python by reasoning about names, objects, control flow, and contracts before scaling to modules, tests, data pipelines, and maintainable interfaces. Each level contains six substantial lessons with explained examples, common failures, worked exercises, and official references.

Runnable examples are self-contained and use only the Python standard library. They use synthetic data and temporary or in-memory storage, with an explicit Python 3.11 baseline and version-specific discussion where newer interpreter behavior matters.

What you will learn

  • Trace values, mutation, control flow, and function calls accurately.
  • Build validated record pipelines and focused regression tests.
  • Use protocols, generators, decorators, and context managers deliberately.
  • Choose concurrency with explicit lifetime and build assumptions.
  • Measure performance and maintain safe, documented package APIs.

Your learning path

Three levels

Who this is for

  • New programmers willing to trace small examples.
  • Developers strengthening testing, data processing, and API design.

Before you start

  • Basic computer and text-editor skills.
  • Python 3.11 or later for running examples; no external packages are needed.