problem generating rows in table

s99999999s2003 at s99999999s2003 at
Tue Nov 8 05:33:13 CET 2005

i wish to generate a table using cgi
toprint = [('nickname', 'justme', 'someplace')]
print '''<table  border="1">

for i in range(0,len(toprint)-1):
  for j in range(0,len(toprint[0])-1):
    print "<td> %s </td>" % toprint[i][j]

print '''</tr>

but it only prints out a table with "User | Name | address"
it didn't print out the values of toprint

is there mistake in code? please advise 

More information about the Python-list mailing list