[Zope] python script get defined function by name

Lee Harr missive@hotmail.com
Tue, 15 Oct 2002 17:10:28 +0000


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

As in...

#PythonScript

def abc():
  pass

abc = getattr(======, 'abc')

#end

what would I use for ====== ?



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx