How to compile a python script to *.pyo

danny at iamlearning.com danny at iamlearning.com
Wed Apr 2 13:40:19 EST 2003


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?

Thanks in advance,

Danny







More information about the Python-list mailing list