[mod_python] CWD

Scott Sanders sanders at apache.org
Sun Nov 28 15:51:34 EST 2004


As far as I know, cwd cannot be set in mod_python due to the possible 
multi-threaded nature of Apache.

Scott

On Nov 28, 2004, at 11:33 AM, Lars M. wrote:

> Hi,
>
> I use mod_python + psp and os.path.dirname(__file__) gives me 
> C:\Python23\lib\site-packages\mod_python, not the directory containing 
> the .psp script. any ideas? (WinXP SP2)
>
> Thanks,
>
> -Lars
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python



More information about the Mod_python mailing list