Initial commit
This commit is contained in:
9
Solutions/9_4/structly/tableformat/formats/tsv.py
Normal file
9
Solutions/9_4/structly/tableformat/formats/tsv.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# 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))
|
||||
Reference in New Issue
Block a user