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 _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )