[mod_python] PythonHandler does not appear to append directory to import path

David Fraser davidf at sjsoft.com
Tue Sep 9 18:56:34 EST 2003


Gerrat Rickert wrote:

>Grisha -
>
>Thanks for your response - much appreciated.  I'm probably using PythonPath
>where I don't need to.  I have some modules I'd like to share between
>several web apps & I can just add their path to my PYTHONPATH environment
>variable & remove the PythonPath directive.
>
>Gerrat
>  
>
It might be helpful to look at putting these shared modules in a package 
that is either located under site-packages, or where the location is put 
in a .pth file under site-packages. Then you don't need to adjust any 
path things at all

David



More information about the Mod_python mailing list