Skip to content

Python Guides

Nine guides, each structured the same way: Learn for tutorials, Recipes for task-focused how-tos, Reference for lookups, and Concepts for short explanatory essays. Every tutorial can be run in the browser via the Lab.

If you're working through Python for the first time, a sensible sequence is:

  1. Conditional logic — how programs make decisions.
  2. Data structures — lists, tuples, dictionaries, sets.
  3. Functions — defining, calling, and composing.
  4. String processing — working with text.
  5. File handling — reading and writing data.
  6. Error handling — exceptions and failure modes.
  7. Logging and debugging — making programs observable.
  8. Regular expressions — pattern matching for text.
  9. Unit testing — proving your code works.

If you're here for a specific topic, pick any guide and dive in — they're self-contained.