Difference between revisions of "OPS435 Python Assignment 2 B"

From CDOT Wiki
Jump to: navigation, search
Line 3: Line 3:
 
"A picture is worth a thousand words.". A computer usage chart is believed to be more useful than the mere usage data as you might have been able to produce with the python script for your previous assignments. The scripting task for this assignment is to present the usage data produced by the usage_report python script in a graphical chart form.
 
"A picture is worth a thousand words.". A computer usage chart is believed to be more useful than the mere usage data as you might have been able to produce with the python script for your previous assignments. The scripting task for this assignment is to present the usage data produced by the usage_report python script in a graphical chart form.
  
There are to modules you can use to make such a task easy to achieve:
+
There are two modules you can use to make such a task easy to achieve:
 
# [https://openpyxl.readthedocs.io/en/stable/ openpyxl] - A Python library to read/write Excel 2010 xlsx/xlsm files
 
# [https://openpyxl.readthedocs.io/en/stable/ openpyxl] - A Python library to read/write Excel 2010 xlsx/xlsm files
 
# [https://plot.ly/matplotlib/bar-charts/ matplotlib] - a Python 2D plotting library
 
# [https://plot.ly/matplotlib/bar-charts/ matplotlib] - a Python 2D plotting library

Revision as of 14:40, 27 March 2018

Overview

"A picture is worth a thousand words.". A computer usage chart is believed to be more useful than the mere usage data as you might have been able to produce with the python script for your previous assignments. The scripting task for this assignment is to present the usage data produced by the usage_report python script in a graphical chart form.

There are two modules you can use to make such a task easy to achieve:

  1. openpyxl - A Python library to read/write Excel 2010 xlsx/xlsm files
  2. matplotlib - a Python 2D plotting library