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..
What is the settings that needs to be changed to generate开发者_运维知识库 the .pyc files
compileall
can be used to compile all Python scripts in the project directory.
python -m compileall path/to/project
精彩评论