cheat sheet
Python
Installation guides, essential packages, CLI snippets, and real-world recipes for Python 3.
Python
A practical reference for Python 3 — from first install to production-ready packages.
What's in this section
| Topic | Pages |
|---|---|
| Installation | Per-OS install guides with verification steps |
| Virtual environments | venv setup, activation, and management |
| Essential packages | 34 packages with examples, pitfalls, and output samples |
| CLI snippets | One-liners and small standalone scripts |
| Rich | Terminal formatting, tables, progress bars, and live output |
Recommended reading order
- Installation — pick your OS
- Virtual environments — always use one
- Essential packages — browse the catalogue
- CLI snippets and scripts
- Rich — make terminal output beautiful
All code blocks on every page have a one-click copy button. Output samples are shown in plain
textblocks directly below each example so you can see exactly what to expect.