开发者

django remove source files and generate pyc files

开发者 https://www.devze.com 2023-01-28 02:16 出处:网络
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 filescompileall can be

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

精彩评论

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