I used to use perl -c programfile to check the syntax of a Perl program and then exit without executing it. Is there an equivalent way to do this for a Python s
perl -c programfile
Perhaps useful online checker PEP8 : http://pep8online.com/