> ************main program piece*********** > tab = "<table align='center' border='1'>\n %s \n</table>" s = "" > for x in result: > s = s + "<tr>" + string.join(map(f1,x),"")+"</tr>\n" > tab = tab % s > Can anyone improve this code segment? Thanks alot Avoids copying the original tab each time. Alan g