Good Programming in Python

As a very basic rule, apply the latest security patches to your python interpreter.

Please note: On SLC, the security patches are applied and backported to earlier versions of Python.

Tools

pychecker Free, UNMAINTAINED stand-alone script This static analyzer focuses on finding bugs.
It has only a couple of checks that are security related.
RATS Free stand-alone script RATS targets various languages and has specific detection rules for each.
For python, it will find some dangerous system calls.