I would to compile a python file in my django application, using:
python --OO -m compileall *.py
For example in app blog with structure: