Changes

Jump to: navigation, search

OPS435 Python Assign 2 2018 Fall

71 bytes added, 12:53, 11 November 2018
Program Development and Testing
</pre>
== Program Suggested Script Development and Testing ==You should create The following python functions (to handle be created) are useful in handling the following sub-tasks:
* gets login records from the output of "last" command and filters out unwanted records
* reads login records from files and filters out unwanted records
* generate daily usage reports by user and/or by remote host* generate weekly usage reports by user and/or by remote host* generate monthly usage reports by user and/or by remote hostTo help you with this assignment, [[OPS435 A1 Usage Report Template|here is a template]] you can use as a starting point in developing your own Python Usage Report programscript.
Once you have finished coding a function, you should start a Python3 interactive shell, import your functions and manually call the function you want to testunder interactive mode.
Once you have all the individual function tested and that each is working properly, perform the final test with test data provided by your professor and verify that your program script produces the correct results before submitting your python program on Blackboard.
== Sample login records file and sample run ==
1,760
edits

Navigation menu