Python PyCompile
py_compile is an executable script for compiling Python byte code, especially to check for syntax errors.
Contents
Installation
py_compile is included in all Python installations.
Usage
Try:
python -m py_compile example.py
Alternatively, try:
echo example.py | python -m py_compile -
See also
Python py_compile module documentation