[Zope] sort in python script dynamically?

Paul Winkler pw_lists at slinkp.com
Tue Jan 13 03:43:08 EST 2004


On Tue, Jan 13, 2004 at 09:19:01AM +0100, Andre Meyer wrote:
> How can an attribute name (a string) be translated in the actual attribute?

getattr(object, 'attribute_name')

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's CHERRY-POPPING PELICAN MEGA!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list