[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Basic DTML

webmaster at zope.org webmaster at zope.org
Fri Dec 12 12:59:38 EST 2003


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/DTML.stx#3-30

---------------

      Create a Script (Python) object in your sandbox folder named
      "actors".  Give the script the following body and save it::

        ## Script (Python) "actors"
        ##bind container=container
        ##bind context=context
        ##bind namespace=
        ##bind script=script
        ##bind subpath=traverse_subpath
        ##parameters=
        ##title=
        ##
        return ['Jack Lemmon', 'Ed Harris','Al Pacino', 'Kevin Spacey', 'Alan Arkin']

        % Anonymous User - Nov. 18, 2003 5:40 am:
         What do the '##''s do?
         Presumably not comments.

        % Anonymous User - Dec. 12, 2003 12:59 pm:
         Nope, not comments. They're interpreted as parameter data, see the section on Using Basic Zope Objects, a few
         levels up.



More information about the ZDP mailing list