MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / row

Method row

Solutions/3_8/tableformat.py:28–29  ·  view source on GitHub ↗
(self, rowdata)

Source from the content-addressed store, hash-verified

26 print(('-'*10 + ' ')*len(headers))
27
28 def row(self, rowdata):
29 print(' '.join('%10s' % d for d in rowdata))
30
31class CSVTableFormatter(TableFormatter):
32 def headings(self, headers):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected