[Zope] Recursively read and write folders during install

Dieter Maurer dieter at handshake.de
Sat Mar 19 14:08:07 EST 2005


robert wrote at 2005-3-19 14:39 +0100:
....
>your product can ask zope where it is installed like:
>product_path = globals()['__builtins__']['INSTANCE_HOME'] + '/Products'

You can shorten this to

    product_path = INSTANCE_HOME + '/Products'

This works for any builtin (not just "INSTANCE_HOME").

-- 
Dieter


More information about the Zope mailing list