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