Jean-Michel Pichavant wrote:

  if which == '':
    i = 0
    all = ''
    while i < len(meanings):
      table = '%s\n' % meanings[i]
      table += "<table>\n <tr>\n  <td colspan='8'

composing HTML like that is painful, bug prone and insecure

You should have a look at http://tottinge.blogsome.com/meaningfulnames/

I would also suggest to have a look at lxml.builder, or some kind of template system.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to