Changes

Jump to: navigation, search

OPS435 Assignment 2 for Section A

7 bytes removed, 10:56, 15 July 2021
Second Milestone (due August 2)
<code><b>user@host ~ $ ./duim.py -H /usr/local/lib</b></code>
<pre>
61 % [============ ] 160.2 MiB M /usr/local/lib/heroku 4 % [= ] 10.8 MiB M /usr/local/lib/python2.7 34 % [======= ] 90.4 MiB M /usr/local/lib/node_modules 0 % [ ] 8.0 kiB K /usr/local/lib/python3.8Total: 261.4 MiB M /usr/local/lib
</pre>
To run the check script, enter the following:
<code>python python3 checkA2.py -f -v TestDirDict</code>
You will be using a module in the standard library called <b>Argparse</b>. This will help handle more complex sets of options and arguments than simply using sys.argv.
<code><b>user@host ~ $ python3 duim.py -h</b></code>
<pre>
usage: duim.py [-h] [-H] [-l LENGTH] [target]
DU Improved -- See Disk Usage Report with bar charts

Navigation menu