[Zope] getitem in pythonscript
Peter Bengtsson
mail@peterbe.com
Wed, 2 May 2001 10:05:51 +0200
this:
object = getattr(context, 'index_html')
----- Original Message -----
From: "bak (kedai)" <kedai@kedai.com.my>
To: <zope@zope.org>
Sent: Tuesday, May 01, 2001 9:23 AM
Subject: [Zope] getitem in pythonscript
> hi
> what's the equivalent of _.getitem(stuff) in python script?
> the only way i know of is by binding _, and refer to it as
> ob=_.getitem(stuff)
>
> is this the *only* way?
>
> thanks
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 )