[Python-Dev] No "check syntax" command line option

Fredrik Lundh fredrik@pythonware.com
Sat, 4 May 2002 23:19:37 +0200


jack wrote:

> Is there a roundabout way to do this?

python -c "compile(open('$filename').read(), '$filename', 'exec')"

works with all versions.

</F>