How to compile a python script to *.pyo

Peter Hansen peter at engcorp.com
Wed Apr 2 17:43:57 EST 2003


danny at iamlearning.com wrote:
> 
> I want my users run *.pyo or *.pyc files instead of *.py.

To expand on Jp's response a little: please explain why you think
you want this, so we can better understand the need that's driving
it.  Maybe you are trying to do something you shouldn't be trying
to do, or maybe you're just going about it the wrong way.  What
makes you think doing what you are asking is a good thing?

-Peter




More information about the Python-list mailing list