I want to remove all .py files in my django project.But pyc files are not generated as yet..
What is the settings that needs to be changed to generate the .pyc files
compileall
可用于编译项目目录中的所有Python脚本。
python -m compileall path/to/project
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.