2023-07-16 20:21:00 -05:00

10 lines
236 B
Python

# tsv.py
from ..formatter import TableFormatter
class TSVTableFormatter(TableFormatter):
def headings(self, headers):
print('\t'.join(headers))
def row(self, rowdata):
print('\t'.join(str(d) for d in rowdata))