compile

Compiling Python source code into bytecode in production environment


Keywords
bytecode-compiler, compiler, distributed, python, source-code-analysis
License
MIT
Install
pip install compile==1.0.3

Documentation

Compile

Compiling Python source code into bytecode in production environment

How To Use

python -m compile -h  # help
python -m compile . -b -f  # Compile current directory

编译

将 python 源代码编译成供生产环境使用的机器字节码

如何使用

python -m compile -h  # 帮助
python -m compile . -b -f  # 编译当前目录