Beginner question

howa howachen at gmail.com
Sun May 25 14:13:07 EDT 2008


Hi,

Just want to try mod_python but it is more complicated then I
expected...

I just followed the tutorial on: http://www.modpython.org/live/mod_python-2.7.8/doc-html/inst-testing.html


E.g.

URL = http://www.example.com/mptest.py

It return

ImportError: No module named mptest

1. If I removed addHandler mod_python .py and PythonHandler mptest, I
can see the SOURCE CODE

2. The PythonHandler mod_python.testhandler seems return correct
result, showing I am using python 2.4.3


any idea?

Thanks.



More information about the Python-list mailing list