BackTalk to Document The Zope Book (2.6 Edition)/Using Basic Zope Objects
[email protected] Mon, 14 Jun 2004 15:16:04 -0400
| Newsgroups | gmane.comp.web.zope.zdp |
|---|---|
| Message-ID | <[email protected]> |
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.
_______________________________________________
ZDP maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zdp