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

Method headings

Solutions/3_5/tableformat.py:25–26  ·  view source on GitHub ↗
(self, headers)

Source from the content-addressed store, hash-verified

23
24class CSVTableFormatter(TableFormatter):
25 def headings(self, headers):
26 print(','.join(headers))
27
28 def row(self, rowdata):
29 print(','.join(str(d) for d in rowdata))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected