9 Apr
2001
9 Apr
'01
4:31 p.m.
Hi Ignacio, replace the quotation mark comments ["""] surrounding line 1: 'Create a guest book entry' with a simple hash [#] comment preceding it.. .....or just delete the whole comment! It is those quotation marks the compiler doesn't like cheers Sandy Ignacio Valdes wrote:
Hello all,
I'm trying to tackle the Zoo GuestBook example from the Zope book: http://www.zope.org/Members/michel/ZB/SimpleExamples.dtml
I've got it all working except the last part in the AddEntry python script. I now have Zope 2.3.1 installed on my ISP's system. The script craters on the first line which reads:
""" Create a guest book entry. """ # create a unique document id id='entry_%d' % len(context.objectIds())