Is there a way to compile a Python .py file from the command-line without executing it?
I am working with an application that stores its python exte
$ python -c "import py_compile; py_compile.compile('yourfile.py')"
or
$ python -c "import py_compile; py_compile.compileall('dir')"