[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Using Basic
Zope Objects
webmaster at zope.org
webmaster at zope.org
Mon Jun 14 15:16:04 EDT 2004
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/BasicObject.stx#3-58
---------------
Minimize the browser you're using to access the Zope Management
Interface. Open a "shell" console on the machine which you're
using as a Zope server. Navigate to the Zope installation
folder. You will encounter a subfolder in the Zope installation
folder named 'Extensions'. Navigate into this folder and create a
text file there with the name 'SalesEM.py'. Within this file,
save the following content::
def SalesEM(self, name="Chris"):
id = self.id
return 'Hello, %s from the %s external method' % (name, id)
% Anonymous User - June 14, 2004 3:16 pm:
What a funny little syntax this uses.
More information about the ZDP
mailing list