[Zope] Adding HTML to Python
Roberto Benitez
rbenitez22 at yahoo.com
Wed Dec 6 12:43:41 EST 2006
add <BR> to the end of each line
example:
l_errorMessage = "These IDs have Errors<BR>" #ADD <BR> AT END OF HEADER LINE
Loop
l_errorMessage = l_errorMessage + " %s<BR>" % (ID) #ADD <BR> AT END OF EACH ID ENTRY
end loop
----- Original Message ----
From: April Lekin <lekin2 at llnl.gov>
To: zope at zope.org
Sent: Wednesday, December 6, 2006 11:12:20 AM
Subject: [Zope] Adding HTML to Python
In Python I'm building this error message:
l_errorMessage = "These IDs have Errors"
Loop
l_errorMessage = l_errorMessage + " %s " % (ID)
end loop
return l_errorMessage.
How can I put breaks (returns) between the IDs so each ID will be
displayed on it's own line?
like:
These IDs have Errors:
1
46
76
45
_______________________________________________
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 )
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20061206/d6415363/attachment.htm
More information about the Zope
mailing list