Any help would be appreciated
Python compiles the py files and saves it as .pyc files.
The .pyc files contain the compiled bytecode of python source files.The .pyc is not created for main program file that execute. The .pyc file is only for imported modules.
Python compiles the .py files and saves it as .pyc files , so it can reference them in subsequent invocations. The .pyc contain the compiled bytecode of Python source files. The .pyc contain the compiled bytecode of Python source files, which is what the Python interpreter compiles the source to. This code is then executed by Python's virtual machine . There's no harm in deleting them (.pyc), but they will save compilation time if you're doing lots of processing.