Greetings again.
This has to be an easy one.
From within my Python-based product's code, how do I get access to the
product's directory on the filesystem? os.getcwd() seems to provide the
working directory of the shell used to launch Zope, at least when running in
debug mode.
I've tried
On Tue, Mar 09, 2004 at 01:58:17PM -0500, Ian Beatty wrote:
Greetings again.
This has to be an easy one.
From within my Python-based product's code, how do I get access to the
product's directory on the filesystem? os.getcwd() seems to provide the
working directory of the shell used to
On Tuesday 09 March 2004 01:58 pm, Ian Beatty wrote:
This has to be an easy one.
Good, I'll take it. ;-)
From within my Python-based product's code, how do I get access to the
product's directory on the filesystem? os.getcwd() seems to provide the
working directory of the shell used to
On Tuesday 09 March 2004 02:30 pm, Chris McDonough wrote:
There is also a convenience function for this in Zope:
from Globals import package_home
here = package_home(globals())
Maybe I'm just weird, but I generally prefer the general approach when there's
not a clear improvement in