11 Mar
2001
11 Mar
'01
12:20 p.m.
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. concating them in '/'-Syntax doesnt work. Manually changing the '/' in '.' is OK. with regards Axel
11 Mar
11 Mar
11:01 p.m.
New subject: [Zope] Path syntax
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
9157
Age (days ago)
9157
Last active (days ago)
1 comments
2 participants
participants (2)
-
Axel.Missbach@t-online.de -
Chris Withers