'''Due Date:''' Please follow the three stages of submission schedule:
* Complete the algorithm document for this assignment script by November 27, 2020 and submit on Blackboard by 11:59 PM,
* Complete the your Python script and push to Github by
August 14, 2020 at 9: 00 PM, and* Copy your Python script into a Word document and submit to Blackboard by August 14, 2020 at 9: 00 PM.
All your Python codes for this assignment must be placed in a <font color='red'><b><u>single source file</u></b></font>. Please include the following declaration by <b><u>you</u></b> as the <font color='blue'><b>script level docstring</b></font> in your Python source code file (replace [Student_id] with your Seneca email user name, and "Student Name" with your own name):
<source>OPS435 Assignment 2 -
Summer 2020Program: a2_[seneca_id].py
Author: "Student Name"
The python code in this file
a2_[seneca_id].py is original work written by
"Student Name". No code in this file is copied from any other source
including any person, textbook, or on-line resource except those provided
<li> Use the invite link posted to Blackboard to accept the assignment, and clone the repo to a Linux machine.
<li> Copy a2_template.py into a2_<myseneca_id>.py. Replace with your Myseneca username.
<li> Run the script itself. Investigate argparse. Experiment with the various options
, particularly -v. Read the docs, what option must you implement? Go ahead and implement it . Test with print() for now. <b>Commit the change.</b><li> Investigate the `parse_user() ` function, with the <code>usage_data_file</code>. This should take the list of lines from the file, and instead return a list of usernames. <b>Commit the change.</b><li> Use argparse with `- l user` ` usage__data_file` to call the ` parse_user()` function. <b>Commit the change.</b><li> Write a function to print the list from `parse_for_user()`. Now you have input -> processing -> output. <b>Continue committing these changes as your proceed.</b><li> Implement the same things as parse_for_user but for `parse_for_hosts `. Output should be sorted.
<li> Compare your output with the output below.
<li> Write the `parse_for_daily()` function using the pseudocode given. This should be taking the list of lines from your file, and output a dictionary with start dates in DD/MM/YYYY format as the key and usage in seconds as the value.
== Submission ==
* Stage 1: Submit your algorithm document file to Blackboard by November 27, 2020.
* Stage 2: Use commits to push your python script for this assignment to Github.com. The final state of your repository will be looked at on
August 14, 2020 at 9: 00 PM.* Stage 3: Copy your python script into a Word document and submit to Blackboard by August 14, 2020 at 9: 00 PM.