On this page
  1. Intermediate Python & Software Engineering
  2. Overview
  3. Subtopics

Intermediate Python & Software Engineering

Prev: Core Fundamentals | Up: tutorials | Next: Advanced Python Internals
Rel: python3, dataclasses, typing, unittest, logging, venv
Ref: docs.python.org — The Python Standard Library
Tags: #public #python3 #tutorials #software-engineering #index


Overview

Language features, architecture patterns, and standard library tooling for moving from standalone scripts to structured, testable, maintainable Python applications.


Subtopics

  1. Object-Oriented Programming (OOP) — Classes, instances, __init__, inheritance, polymorphism, encapsulation, abstract base classes (abc), and special/dunder methods.
  2. Modern Data Modeling — Reducing boilerplate with @dataclass, namedtuple / NamedTuple, and Enum / StrEnum / Flag.
  3. Error Handling and Context Managers — Exception handling (try/except/else/finally, except*), custom exceptions, chaining, and safe resource management (with, contextlib).
  4. Modules, Packages, and Tooling — Organizing code into modules and packages, importlib, virtual environments (venv), and standard library packaging (ensurepip, zipapp, sysconfig).
  5. Type Hinting and Static Analysis — Type annotations (typing), structural subtyping (Protocol), runtime inspection (get_type_hints, inspect), and stdlib static/AST checks (ast, symtable, compileall, tabnanny).
  6. Testing and Debugging — Unit testing (unittest, unittest.mock, doctest), interactive debugging (pdb, breakpoint()), profiling (cProfile, timeit), and structured logging.

Linked from

Related notes