pep8 is a tool to check your Python code against some of the style conventions in PEP 8. WWW: https://pypi.python.org/pypi/pep8