Open main menu

CDOT Wiki β

Changes

OPS435 Python Assignment 3

1,486 bytes added, 14:23, 16 November 2018
Rubric
If there is more than one CCN subscription web page provided, merge all the subscription list with the first one at the top and the last one at the bottom. Read and process the subscription list in that order in your program.
If no class cancellation site specified, default to https://ictscs.senecacollegesenecac.on.ca/cc~raymond.chan/ops435/cancellationsa3/todayccn.html.
If no -t or -n specified, default to html table.
Sample subscription site: https://wiki.cdot.senecacollege.ca/wiki/OPS435_Python_A3_CCN_Subscription
=== Header ===
** [https://www.tutorialspoint.com/python3/python_date_time.htm Time module Tutorial]
** [https://docs.python.org/3/library/time.html Time module API reference page]
 
=== Sample Output ===
You python script should check the class cancellation notification site for any classes cancellation that are going to happen in the next 24 hours. If it identifies any classes, it should check the class cancellation notification subscription sites for any matches. If there is any matches, it should send an appropriate email to the subscriber using the following template:
 
<pre>
Dear <subscriber full name>,
Your <class code> scheduled on <data and time> is being cancellated. Details about the cancellation can be found and confirm at <Class Cancellation Notification site>.
 
Your class cancellation notification team.
Message generated on <Date and time stamp>
</pre>
 
The sample message should also written to your CCN log file named ccn.log.
 
== Rubric ==
 
{| class="wikitable" border="1"
! Task !! Maximum mark !! Actual mark
|-
| Program Authorship Declaration ||1 ||
|-
| Program usage || 2 ||
|-
| Program Options || 2 ||
|-
| Generate correct notification email || 5 ||
|-
| Generate and keep correct email message in log|| 5 ||
|-
| Function to extract and produce class cancellation data || 5 ||
|-
| Function to extract and produce notification subscription data || 5 ||
|-
| '''Total''' || 25 ||
 
|}
== Submission ==
After fully testing your program, submit your python script ccn_[student_id].py on Blackboard by November 30, 2018.
1,760
edits