# html.py from ..formatter import TableFormatter class HTMLTableFormatter(TableFormatter): def headings(self, headers): print('', end=' ') for h in headers: print('%s' % h, end=' ') print('') def row(self, rowdata): print('', end=' ') for d in rowdata: print('%s' % d, end=' ') print('')