3 Oct
2003
3 Oct
'03
8:20 p.m.
####python code: example def hello(name="dad",age=29): return "Hello %s you are %d years old" % (name ,age) ###Page template testexample <html> <boddy> <h2> <span tal:replace="python:here.example.hello(name='daughter',age=6)"></span> </h2> </body> </html> when I test testexample i got something like Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: hello I was expecting, hello daughter your age is 6 How can I fx this problem? thanks