[Zope] Path syntax

Chris Withers chrisw@nipltd.com
Sun, 11 Mar 2001 23:01:54 +0000


Axel Missbach wrote:
> 
> Hi there,
> 
> is there an easy way to change a path from slash-notation in
> python-syntax
> (main/sub/form =>main.sub.form)?
> 
> I got an URL from the RESPONSE and some ascii-parts for the path.

doing context.restrictedTraverse('/main/sub/form') in a python script with get
hold of the form object for you...

cheers,

Chris