Question: what is extension of python?
Answer: py : This is normally the input source code that you've written. . pyc : This is the compiled bytecode. If you import a module, python will build a *. pyc file that contains the bytecode to make importing it again later easier (and faster).