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

Method row

Solutions/8_6/tableformat.py:27–28  ·  view source on GitHub ↗
(self, rowdata)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected