Open main menu

CDOT Wiki β

Changes

OPS435 Assignment 1 A

17 bytes added, 14:53, 15 February 2018
Program Name and valid command line arguments
=== Program Name and valid command line arguments ===
Name your Python3 program as <code>usage_report.py</code>. The program should accept zero or more "file name" as as its command line parameters. for examples:* <b><code>python3 usage_report.py</code></b>, or* python3 usage_report.py <b><code>python3 usage_report.py filename</code></b>, or* python3 usage_report.py <b><code>python3 usage_report.py filename1 filename2 </code></b> etc ... - any number of filenames from 1 to as many as the command-line supports.
If there is no command line argument, your python program should get the login records from the 'last' command with the appropriate flags.
1,760
edits