Small snippets of code to show common design patterns in Python.