PEP8

PEP8 is a StyleGuide for Python. A tool that validates code against it goes by the same name.

Using pep8 helps you conform to common coding standard and at the same time avoid some 'silly' mistakes.