运维网's Archiver
论坛
›
Python
› 关于Python的编译
birk
发表于 2018-8-11 08:25:38
关于Python的编译
1、由于PEP 488建议淘汰pyo文件,下面不再赘述。
2、编译单文件。
python -m py_compile test.py 3、编译目录下的文件。
python -m compileall D:\test 相关阅读:
1、py_compile
2、compileall — Byte-compile Python libraries
3、Python3下不要版本号批量编译.pyc文件
*** walker ***
页:
[1]
查看完整版本:
关于Python的编译