[Pythonmac-SIG] pyo and pyc

Bob Ippolito bob at redivi.com
Mon Dec 12 23:41:48 CET 2005

On Dec 12, 2005, at 10:02 AM, Zhi Peng wrote:

> What was the .pyo file on Mac. Could anyone tell me how to make  
> a .pyo file from .py file? Thanks.

.pyo files are generated by the Python interpreter when passed the  
optimize flag.  They're the same thing as .pyc, just stripped of  


More information about the Pythonmac-SIG mailing list