[Zope] python script getattr for defined function

Lee Harr missive@hotmail.com
Sun, 13 Oct 2002 01:06:57 +0000


If I define a function inside a PythonScript, can I get that
function by name somehow using getattr() ?

As in...

#PythonScript

def abc():
  pass

abc = getattr([what], 'abc')

#end

what would I use for [what] ?



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com