7 Feb
2006
7 Feb
'06
10:30 a.m.
+-------[ 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 akm@theinternet.com.au