How does mod_python know where's Python installed ?

arorap arorap at gmail.com
Tue Jun 12 17:03:38 EDT 2007


Hi,

I recently setup mod_python successfully and things work smooth.
However, I do not remember telling mod_python where to find Python
installation. There's not environment variable which gives that
information. As such how does mod_python know where to find Python ?
When I print sys.path in my scripts it contains my python installation
folder. I'm wondering how does Apache/mod_python get this
information ?

I'm running Apache 2.2 on windows.


-Puneet.




More information about the Python-list mailing list