Make python examples PEP8 compliant.

These are my proposed fixes for rethinkdb/rethinkdb#2534.