Please use the pep8 tool to check the style of the example: https://pypi.python.org/pypi/pep8