[Zope] How to access Zope root in Script (Python)

Jon Whitener wmmail@twmi.rr.com
Tue, 26 Nov 2002 17:54:23 -0500


How do I refer to the root Zope directory within a Python script?

For example, to access the "price" object in a Page Template, (when price in a sibling or parent folder) I just say "root/service/price", but a Py script doesn't recognize "root", so what do I use?

Thanks in advance,
Jon
Detroit, Michigan USA