mod_python and files directory

mete metebilgin48 at gmail.com
Sat Dec 6 12:26:40 CET 2008


but i want to take it somewhere else...i want to it work some other path in 
other system.

On Saturday 06 December 2008 12:34:07 Graham Dumpleton wrote:
> 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
> --
> http://mail.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list