MCPcopy Create free account
hub / github.com/dabeaz-course/practical-python / main

Function main

Solutions/8_1/report.py:60–63  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

58 print_report(report, formatter)
59
60def main(args):
61 if len(args) != 4:
62 raise SystemExit('Usage: %s portfile pricefile format' % args[0])
63 portfolio_report(args[1], args[2], args[3])
64
65if __name__ == '__main__':
66 import sys

Callers 1

report.pyFile · 0.70

Calls 1

portfolio_reportFunction · 0.70

Tested by

no test coverage detected