On Mon, 26 Jun 2000, Timothy Wilson wrote:
> "REQUEST.set('parsed_address', _.string.join(old_address, '$')"> except for

This is exactly correct.  Inside the quotes you are in python, and
so you can reference variables from the namespace by their unadorned name.

> Second question... Once I've got my string parsed into a list called
> "parsed_string", what's the syntax for accessing certain elements of the
> list?

parsed_string[0], parsed_string[1], ...  (inside an expr, of course).

--RDM


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to