Error (and style) checking for python
