[Zope] Dynamic object lookup

Chris Withers chrisw@nipltd.com
Fri, 18 Aug 2000 10:25:13 +0100


Helmut Toplitzer wrote:
> 
> Hi!
> 
> I'm trying to get objects (even acquired) by
> pasing a string to a python method.
> Has someone an idea how to make that work?

getattr(self,'string') ?

cheers,

Chris