Quick Reference
Use these building blocks to write small Python programs that are clear and easy to test.
Use expressions, decisions, and loops to make your program calculate and choose what happens next.
Choose the right collection to organize values, text, and named information in your programs.
Put repeated work in named functions, then use built-in tools and modules to keep code organized.
Handle problems safely, save text, and use classes to group related data and behavior.
Reuse these small-program patterns to turn an idea into a working project one clear step at a time.
Fast key-value mapping and mathematical set operations in Python.
Write concise, expressive data transformations using functional tools.
Read, write, and process modern file formats with pathlib, CSV, and JSON.
Design modular, reusable systems with classes, inheritance, and properties.
Memory-efficient streaming with generators, context managers, and type hints.
Essential standard library utilities: regex, dates, randomness, and statistics.