9 Mar
2004
9 Mar
'04
7:09 p.m.
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 launch Zope, at least when running in debug mode. Try os.path.dirname(mymodule.__file__)?
Andreas