Skip to content

Intro

Role of This Section

  • Connect the old version-by-version notes to the new topic-driven handbook.
  • Show how Pythonic patterns, typing, runtime, asyncio, FastAPI, Pydantic, and SQLAlchemy fit together.
  • Explain why import paths, packaging metadata, and virtual environments are part of Python fundamentals rather than optional tooling trivia.
  • Explain why Python web interfaces evolved from CGI to WSGI to ASGI instead of treating frameworks as isolated tools.
  • Help a new reader pick a starting path instead of reading everything in order.

Start Here

  1. Read Why This Book.
  2. Pick a reading path in How To Read.
  3. Read Import, Packaging, and Environment for import and project-layout fundamentals.
  4. Read Web Gateway Evolution: CGI, WSGI, ASGI for server/app history.
  5. Keep Python 3.10~3.14 Deep Dive nearby as release-history context.

Mental Model to Build

  • Python is not just syntax plus scripts; it is an object model plus a runtime model.
  • Import paths, packaging metadata, and virtual environments are part of that runtime model.
  • Before judging a framework, understand the contract between the web server and the application.
  • Typing, runtime behavior, and frameworks form one ecosystem.
  • Python 3.14 is the baseline, but depth by topic matters more than memorizing version numbers.

Built with VitePress for a Python 3.14 handbook.