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

Function main

Solutions/4_10/report.py:64–67  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

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

Callers 1

report.pyFile · 0.70

Calls 1

portfolio_reportFunction · 0.70

Tested by

no test coverage detected