class table_gen:
def __init__(self,name):
self.name = name
self.rows = []
self.table_id = 'data'
def add_row(self,row):
self.rows.append(row)
def gen_table_head(self):
html = ''
html += ''
html += ''
for col in self.rows[0]:
html += ' '
html += ''
return html
def gen_table_body(self):
html = ''
html += '' + str(col) + ' '
html += '