Size: 441
Comment: Title
|
← Revision 3 as of 2024-02-17 16:38:10 ⇥
Size: 567
Comment: See also
|
Deletions are marked like this. | Additions are marked like this. |
Line 33: | Line 33: |
---- == See also == [[https://docs.python.org/3/library/py_compile.html|Python py_compile module documentation]] |
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