The Python Tutorial (official)

FreePythondocs.python.org

Best for: Learning Python if you already code

Overview

The official tutorial from python.org, covering the core language and standard library. Short, accurate and always current.

Strengths

  • Official and current
  • Concise

Drawbacks

  • Fast-paced for complete beginners

Alternatives to The Python Tutorial (official)

See all 9 →

Playwright

Browser end-to-end tests
Free

End-to-end testing from Microsoft for Chromium, Firefox and WebKit, with auto-waiting, tracing and a code generator. Also has Python, .NET and Java versions.

npmPyPINuGet
Visit ↗

uv

Managing Python projects and dependencies
Free

Fast Python package and project manager from Astral, written in Rust. Replaces pip, virtualenv, pip-tools and pyenv: it installs Python versions, manages a lockfile and runs scripts.

WindowsmacOSLinux
Visit ↗

Ruff

Linting and formatting Python
Free

Very fast Python linter and formatter written in Rust. Covers most of the rules of Flake8, isort and Black in one tool.