+-------[ 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


should give you what you need.

Andrew Milton
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to