How to compile a python script to *.pyo

Peter Hansen peter at engcorp.com
Wed Apr 2 15:25:45 EST 2003


danny at iamlearning.com wrote:
> 
> I'm new on this, please bear with we.
> 
> Let's say I have this script:
> 
> --------------------------
> #!/usr/bin/env python
> x = 'Hello Python'
> 
> print x,
> 
> --------------------------
> 
> How can I compile this script to *.pyo?

What's the name of the script?




More information about the Python-list mailing list