Personal tools
You are here: Home Zope & Plone tips Get the real OS path of a Zope product
Navigation
 
Document Actions
  • Send this page to somebody
  • Print this page
  • Add Bookmarklet

Get the real OS path of a Zope product

by tibi last modified 2007-04-09 14:31

To get the path of a zope product, you can use the following snippet:

from Globals import package_home
product_path = package_home(product_globals)

Replace product_globals with the globals variable that you define and import from your project.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: