[Zope] Adding HTML to Python

April Lekin lekin2 at llnl.gov
Wed Dec 6 12:51:48 EST 2006


Hi,
That doesn't work either!  It doesn't print anything.  Weird!

At 09:44 AM 12/6/2006, Dragos Chirila wrote:
>maybe you can try to add new lines
>
>l_errorMessage = l_errorMessage + " %s\n " % (ID)
>
>regards,
>Dragos
>
>On 12/6/06, April Lekin <lekin2 at llnl.gov> wrote:
>>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 )
>_______________________________________________
>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 )


More information about the Zope mailing list