On this page
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
- Object-Oriented Programming (OOP) — Classes, instances,
__init__, inheritance, polymorphism, encapsulation, abstract base classes (abc), and special/dunder methods. - Modern Data Modeling — Reducing boilerplate with
@dataclass,namedtuple/NamedTuple, andEnum/StrEnum/Flag. - Error Handling and Context Managers — Exception handling (
try/except/else/finally,except*), custom exceptions, chaining, and safe resource management (with,contextlib). - Modules, Packages, and Tooling — Organizing code into modules and packages,
importlib, virtual environments (venv), and standard library packaging (ensurepip,zipapp,sysconfig). - 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). - Testing and Debugging — Unit testing (
unittest,unittest.mock,doctest), interactive debugging (pdb,breakpoint()), profiling (cProfile,timeit), and structuredlogging.
Linked from
- tuts/python3
- tuts/python3/tutorials
- tuts/python3/tutorials/advanced_python_internals
- tuts/python3/tutorials/core_fundamentals
- tuts/python3/tutorials/core_fundamentals/functions
- tuts/python3/tutorials/intermediate_python_and_software_engineering/error_handling_and_context_managers
- tuts/python3/tutorials/intermediate_python_and_software_engineering/modern_data_modeling
- tuts/python3/tutorials/intermediate_python_and_software_engineering/modules_packages_and_tooling
- tuts/python3/tutorials/intermediate_python_and_software_engineering/object_oriented_programming
- tuts/python3/tutorials/intermediate_python_and_software_engineering/testing_and_debugging
- tuts/python3/tutorials/intermediate_python_and_software_engineering/type_hinting_and_static_analysis
Related notes
- tuts/python3/tutorials Linked here; links to this page; shared tags: #index, #tutorials
- tuts/python3/tutorials/advanced_python_internals Linked here; links to this page; shared tags: #index, #tutorials
- tuts/python3/tutorials/core_fundamentals Linked here; links to this page; shared tags: #index, #tutorials
- tuts/python3 Linked here; links to this page; shared tags: #index
- tuts/python3/tutorials/intermediate_python_and_software_engineering/error_handling_and_context_managers Linked here; links to this page; shared tags: #tutorials
- tuts/python3/tutorials/intermediate_python_and_software_engineering/modern_data_modeling Linked here; links to this page; shared tags: #tutorials
- tuts/python3/tutorials/intermediate_python_and_software_engineering/modules_packages_and_tooling Linked here; links to this page; shared tags: #tutorials
- tuts/python3/tutorials/intermediate_python_and_software_engineering/object_oriented_programming Linked here; links to this page; shared tags: #tutorials
- tuts/python3/tutorials/intermediate_python_and_software_engineering/testing_and_debugging Linked here; links to this page; shared tags: #tutorials
- tuts/python3/tutorials/intermediate_python_and_software_engineering/type_hinting_and_static_analysis Linked here; links to this page; shared tags: #tutorials