python face questions please talk about the differences .pyc .py files and documents at

Although both files are saved byte code, but .pyc file is a compiled version of Python file that has platform-independent byte code, so we can execute it on any supported file format .pyc platform. Python automatically generated to optimize its performance (load time, rather than operating speed)

This article first appeared in Python black hole net , blog updated simultaneously Park

Guess you like

Origin www.cnblogs.com/pythonzhichan/p/11403461.html