[mod_python] .pyc and .pyo bytecode files under mod_python ?

Gregory (Grisha) Trubetskoy grisha at modpython.org
Wed Feb 20 11:01:32 EST 2002


On Wed, 20 Feb 2002 ps0 at igmp.com.ar wrote:

> Hi, my question is :
>
>  Could be possible execution of .pyc and .pyo files under mod_python ? how ?
>  I probe adding a AddHandler python-program .pyc , but doesn't work.

It should work, can you elaborate?

>  I need to run .pyc and .pyo for a specific proyect, so Im a problem if it
>  can't be possible.

Even if you specify .py, the Python interpreter will use a .pyc or .pyo if
one exists.

Grisha




More information about the Mod_python mailing list