In message <[EMAIL PROTECTED]>, Steve Holden wrote: > Python runs as a sub-process. The parent process (the one that started > Python) contains the working directory that the Python interpreter > inherited from it. But you can't expect to just go poking around inside > the environment of your parent process...
Under Linux: os.readlink("/proc/%d/cwd" % os.getppid()) -- http://mail.python.org/mailman/listinfo/python-list