Some code samples for Python.