title: How can I check the syntax of Python script without executing it?
body: <p>I used to use <code>perl -c programfile</code> 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 script?</p>