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

Method headings

Solutions/3_8/tableformat.py:32–33  ·  view source on GitHub ↗
(self, headers)

Source from the content-addressed store, hash-verified

30
31class CSVTableFormatter(TableFormatter):
32 def headings(self, headers):
33 print(','.join(headers))
34
35 def row(self, rowdata):
36 print(','.join(str(d) for d in rowdata))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected