107106Hi; The following doesn't work in a Script (Python), presumably because I can't quote html: print """ <html><body>Hello, world!</body></html> """ return printed What should I use instead? TIA, Nancy ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com
you should just be able to do: print "<html><body>Hello World</body></html>" return printed Jonathan ----- Original Message ----- From: Nancy Donnelly To: zope@zope.org Sent: Thursday, December 07, 2006 1:53 PM Subject: [Zope] Simple Question 107106Hi; The following doesn't work in a Script (Python), presumably because I can't quote html: print """ <html><body>Hello, world!</body></html> """ return printed What should I use instead? TIA, Nancy ------------------------------------------------------------------------------ Want to start your own business? Learn how on Yahoo! Small Business. ------------------------------------------------------------------------------ _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Read the template script when adding new Script(Python) On Dec 7, 2006, at 7:53 PM, Nancy Donnelly wrote:
107106 Hi; The following doesn't work in a Script (Python), presumably because I can't quote html:
print """ <html><body>Hello, world!</body></html> """ return printed
What should I use instead? TIA, Nancy
Want to start your own business? Learn how on Yahoo! Small Business. _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Ferhat Ayaz -
Jonathan -
Nancy Donnelly