The compiled Python bytecode is stored in files which have their names ending with:
- py
- pyc
- pc
- pyb
Explanation: During the first import of a module, Python translates its source code into a semi-compiled format stored inside the pyc files, and deploys these files into the __pycache__ directory located in the module’s home directory.
More Questions: Python Essentials 2 (PE2) Course Final Test
Please login or Register to submit your answer