[英]django remove source files and generate pyc files
I want to remove all .py files in my django project.But pyc files are not generated as yet.. 我想删除我的django项目中的所有.py文件。但是还没有生成pyc文件..
What is the settings that needs to be changed to generate the .pyc files 需要更改哪些设置才能生成.pyc文件
compileall
可用于编译项目目录中的所有Python脚本。
python -m compileall path/to/project
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.