python
A python script file is not used as an import, it will not going to create ".pyc" file when execute the script.
So use "py_compile" module to compile your python script manually.
Then it will output .pyc file of python source script.
Another method using python command