Den 06/01/13 15.20, Chris Angelico wrote:
That version should work.
Am 06.01.2013 15:30 schrieb Kurt Hansen:
It certainly does. I'll keep it and use it until at better solution is
found.
On 08/01/13 15.18, Thomas Rachel wrote:
>
That would be simple:
Replace
output += '<td colspan="' + str(4-len(columns)) + '"\>' + item +
'</td\> '
with
if len(columns) >= 3:
output += '<td\>'
else:
output += '<td colspan="' + str(4-len(columns)) + '"\>'
output += item + '</td\> '
(untested as well; keep the indentation in mind!)
Thanks, Thomas, but ...
The script stops right bofore
= 3:
output += '<td\>'
This, and the rest of the script code is put out as the result, not my test.
--
Venlig hilsen
Kurt Hansen
--
http://mail.python.org/mailman/listinfo/python-list