+-------[ Roman Klesel ]---------------------- | Hello again, | | I just started with FS products and have trouble to figure some things out ... | | >From within zope I would like to call scripts that I provide in the product folder on the file system like eg.: | | handle = os.popen('gnuplot %s/bin/loadgraphs.gplt' % product_folder, 'r') | | How can I get the path to the product folder?
from Globals import package_home package_home(globals()) should give you what you need. -- Andrew Milton [EMAIL PROTECTED] _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )