Home > other >  Optimize the code file
Optimize the code file

Time:09-30

Conversion, shows that there is an error

CodePudding user response:

Don't have to import

Generate pyc execution:
Python -m py_compile filename. Py
Generate pyo execution:
Python - O - m py_compile filename. Py

About pyo, python2 perform - will be generated after O "file name. Pyo", is not after python3.5. Pyo, python3.7, for example, the generated is "file name. Retaining to 37. The opt - 1. Pyc." "

CodePudding user response:

Why can't find the file?

CodePudding user response:

Do you want from your project directory into the python ide
  • Related