Python by Example

This curriculum, inspired by the popular Rust by Example book, is based on pure code and assignments to get you up to speed with Python very quickly. It's best for people who already have a working knowledge of other languages and want to move quickly.


  • Python Variables and Type System
  • Python Operators
  • Control Flow in Python
  • Python Strings and String Manipulation
  • Python Lists and List Manipulation
  • Python Tuples, Iterables, Advanced Lists
  • Python Input and Output Methods
  • Python Dictionaries and Sets
  • Functions in Python
  • Higher-Order Functions and Lambdas in Python
  • Python Classes and Objects
  • Error Handling in Python
  • The Python Module System