[Pythonmac-SIG] pyo and pyc

Zhi Peng zhiyong_peng2003 at yahoo.com
Tue Dec 13 02:23:32 CET 2005


I think there are something wrong with my MacPython as
the code is simple and I am sure it will be run on
Linux. 

You and another Friend may run this program. He did
not get any error. 

Thanks 

Zhi 

--- Bob Ippolito <bob at redivi.com> wrote:

> 
> 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  
> docstrings.
> 
> -bob
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Pythonmac-SIG mailing list