How to compile a python script to *.pyo

danny at iamlearning.com danny at iamlearning.com
Thu Apr 3 12:47:32 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

I am working in test environment, and I didn't like testers alter my
script (this happened to me). Basicly, I want my scripts are under control
with my knowledge. If the problem come up, I know where to start
troubleshooting.

Thanks,







More information about the Python-list mailing list