Answer:

The python interpreter compiles the .py script file and saves the results of the compilation to the __pycache__ directory.

When the project is executed again, if the interpreter identifies that the .py script has not been modified, it skips the compile step and runs the previously generated .pyc file stored in the __pycache__ folder.

Discuss It

Quiz

on
Modules

Tutorial

on
Modules

Programs

on
Modules
Click any Link
to navigate to certain page easily
Write a line to us
Your Email
Title
Description