Reading preferences

All modules

Available

Python Programming

Understand Python from its fundamentals to engineering practices.

Levels indicate concept complexity and prerequisites, not learner progress.

Beginner

  1. Meet Python — Meet Python, the interpreter, and the small pieces of a first program.
  2. Setting Up Python — Find Python, check its version, run a file, and understand isolated environments.
  3. Python Names and Values — Give values names, recognise their types, and convert user input carefully.
  4. Expressions and Operators — Combine values with arithmetic, comparisons, and logical operators.
  5. Decisions with if — Use conditions and indentation to choose which instructions run.
  6. Repeating Steps with Loops — Repeat actions with for and while, and control when an iteration ends.
  7. Strings, Lists, and Tuples — Store ordered items and use positions without confusing a value with its index.
  8. Sets and Dictionaries — Keep distinct members in a set and associate keys with values in a dictionary.
  9. Functions and Scope — Name a reusable job, pass information to it, and return a result.
  10. Importing Python Modules — Reuse a named collection of Python tools from the standard library.
  11. Text Files and Exceptions — Read a text file and report an expected problem without hiding it.

Intermediate

  1. Comprehensions, Nested Values, and Mutation — Build collections from existing data and reason about shared mutable objects.
  2. Arguments, Lambda, and Recursion — Understand how calls bind arguments and how recursive calls return.
  3. Classes, Objects, and Inheritance — Follow object creation, attribute lookup, and a simple inherited method.
  4. Encapsulation, Polymorphism, and Abstraction — Design small object interfaces and see how overriding changes behaviour.
  5. Exception Flow and Context Managers — Trace successful and exceptional paths while ensuring cleanup.
  6. Packages and Python Environments — Isolate dependencies and understand how project metadata and installation fit together.
  7. CSV, JSON, XML, and YAML — Choose a data format and read values without confusing text with types.
  8. Paths and Filesystem Operations — Build paths, read text, and understand when filesystem operations can fail.
  9. Python's Data Toolkit — See how NumPy, Pandas, Matplotlib, and Jupyter support different stages of exploration.
  10. Testing, Debugging, and Logging — Check a small function, investigate a failure, and report useful events.

Advanced

  1. Closures and Decorators — Follow a function that remembers a value and wraps another function.
  2. Iterators, Generators, and Resource Lifetimes — Trace lazy values and cleanup when an iterator or context is finished.
  3. Multiple Inheritance and Python's Object Protocol — Trace method lookup through the MRO and understand special methods.
  4. Properties, Dataclasses, and Abstract Classes — Model validated state, generated methods, and explicit class contracts.
  5. Type Hints, Protocols, and Pattern Matching — Express type relationships and follow a structural pattern match.
  6. Async Tasks, Threads, and Processes — Compare cooperative waiting, threads, and separate processes without promising an execution order.
  7. Binary Data, Pickle, and Distribution — Distinguish bytes from text, understand pickle trust, and follow a package build.
  8. Scientific Python: Visualisation and Mathematics — Compare Seaborn, SciPy, and SymPy through a small scientific workflow.
  9. Models, Inference, and pytest — Contrast predictive modelling and statistical inference, then test a small function.
  10. APIs, Validation, and Python Web Frameworks — Follow a request through validation and a prepared response.
  11. SQLAlchemy and Database Boundaries — Follow a transaction while keeping data access separate from the static site.
  12. Maintainable Python Design and Testing — Separate responsibilities and test the boundary between collaborating parts.

Expert

  1. Descriptors and Attribute Lookup — Trace how a descriptor controls attribute access for an instance.
  2. Metaclasses and Introspection — Inspect a class and see when its metaclass validates its definition.
  3. References, Memory, and Garbage Collection — Follow references to a shared object and distinguish reachability from collection timing.
  4. Profiling and Performance Decisions — Measure a real workload before choosing an optimisation.
  5. Concurrency Correctness and Shared State — Protect a shared invariant and reason about failures and cancellation.
  6. Types, API Contracts, and Deployment — Preserve a callable's type relationship and design stable release boundaries.
  7. Security Boundaries in Python Systems — Validate at trust boundaries and design explicit failure handling.
  8. Tensors and Automatic Differentiation — Compare a small gradient in PyTorch, TensorFlow, and JAX.
  9. Transformers as a Python Ecosystem Bridge — Follow token IDs and masks through a small transformer model without downloading weights.