[Zope] Create object from path

Paul Winkler pw_lists@slinkp.com
Tue, 17 Jun 2003 11:36:31 -0400


On Tue, Jun 17, 2003 at 09:26:34PM +0200, Andreas Jung wrote:
> Do you want to create an object or retrieve an object by path.

I interpreted it as the latter...
if so, in a python script you could do

obj = container.restrictedTraverse('/path/to/my/object')

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's TOWNSMAN THING!
(random hero from isometric.spaceninja.com)