[Zope-dev] Product directory?
Ian Beatty
beatty at physics.umass.edu
Tue Mar 9 13:58:17 EST 2004
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 ferreting it out from the source to DTMLFile and etc., but I
can't trace it.
Thanks,
..Ian
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
Dr. Ian Beatty beatty at physics.umass.edu
Physics Education Research Group voice: 413.545.9483
Department of Physics fax: 413.545.4884
Univ. of Massachusetts AIM: (available upon request)
Amherst, MA 01003-4525 USA http://umperg.physics.umass.edu/
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
More information about the Zope-Dev
mailing list