[Zope] Simple Question

Jonathan dev101 at magma.ca
Thu Dec 7 13:59:58 EST 2006


you should just be able to do:

print "<html><body>Hello World</body></html>"
return printed


Jonathan
  ----- Original Message ----- 
  From: Nancy Donnelly 
  To: zope at 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 at 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 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20061207/732a87de/attachment.htm


More information about the Zope mailing list