[Zope] ext.method to pythonscript - simple question

Jason Cunliffe jasonic@nomadicsltd.com
Wed, 11 Apr 2001 01:00:49 -0400


Having some {very} rudimentary trouble translating External Python Method
work done many moons ago into [Zope]PythonScripts. If someone could shine
just a little light apples-for-apples, I would really appreciate it.

ExternalMethod

#gettext.py
def gettext(self):
    print "gettext"
    params = urllib.urlencode({'message': Do you understand
now?','name':'Zope Lover','status':'done'})
    return params

Please what is the correct syntax for this as PythonScript in Zope231?



thanks
- Jason
___________________________________________________________
Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']