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

Method headings

Solutions/7_6/tableformat.py:31–32  ·  view source on GitHub ↗
(self, headers)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected