[Zope] Pythonscript question

drew nichols drew at mena.org.au
Thu Mar 25 05:25:01 EST 2004


Can i get methods dynamically from a pythonscript?
getattr doesn't seem to work.

I guess external methods would work, but can this be done?

##parameters=method=None
##
def a():
    return 'Hello'

if method is not None:
    return getattr ( script, method )()





More information about the Zope mailing list