开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜