Changes

Jump to: navigation, search

OPS445 Online Assignment 2

76 bytes added, 01:30, 22 March 2022
no edit summary
The repo will contain a check script, a README file, and the file where you will enter your code.
== The First Milestone (due April 1stMarch 30) ==
For the first milestone, you will have two functions to complete.
* <code>call_du_sub</code> will take one argument and return a list. The argument is a target directory. The function will use <code>subprocess.Popen</code> to run the command <b>du -d 1 <target_directory></b>.
<code>python3 CheckA2.py -f -v TestDuSub</code>
== Second Milestone (due November 28April 3) ==
For the second milestone you will have two more functions to complete.
* <code>create_dir_dict</code> will take your list from <code>call_du_sub</code> and return a dictionary.
Specify the length of the graph. Default is 20.
Copyright 20212022
</pre>
It is expected that the additional features you provided should be useful, non-trivial, they should not require super-user privileges and should not require the installation of additional packages to work. (ie: I shouldn't have to run pip to make your assignment work).
== The Assignment (due December April 10, 11:59pm) ==
* Be sure to make your final commit before the deadline. Don't forget to also use <code>git push</code> to push your code into the online repository!
* Then, copy the contents of your <b>duim.py</b> file into a Word documenta2_yoursenecauser.py, and submit it to Blackboardalong with a2_output.txt generated from CheckA2.py script. <i>I will use GitHub to evaluate your deadline, but submitting to Blackboard tells me that you wish to be evaluated.</i>
= Rubric =
Please submit the following files by the due date:
* [ ] your python script, named as 'duim.py', in your repository, and also '''submitted to Blackboard'''as a2_yoursenecauser.py, by December April 10 at 11:59pm.
572
edits

Navigation menu