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 )
_______________________________________________
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 )

Reply via email to