mod_python and files directory

Graham Dumpleton Graham.Dumpleton at gmail.com
Sat Dec 6 11:34:07 CET 2008


On Dec 6, 1:52 am, "mete bilgin" <metebilgi... at gmail.com> wrote:
> Hi all,
> I try to make a websevice with python and mod_python. İ try to make a po
> files, but i can not reach them in the page. When i ask the page like "
> os.listdir('.') " but i want to get files directory, what can i do? sorry
> for my bad describe of that. Thanks a lot...

The current working directory in Apache can be anything. You must
supply an absolute path to all directories/files you are trying to
access/use.

Graham



More information about the Python-list mailing list