Coursework 3: Displaying Data
Questions
- Reading data from (CSV) files and displaying it in a table. [8 Marks]
- Automatically creating a web page that displays structured information. [14 Marks]
-
For COMP1011 and COMP0011 (IFY):
Retrieving data from the internet and extracting particular information from it. [8 Marks]
(Practical Programming students do not need to do this for CW3. However, you will be doing it as part of your final coursework.)
Checking and Submitting your Programs
A program filecw3_checkout.py
is provided for you to to check the code you have written for this coursework and to create the zip file that you need to submit.
Any other files required for the web page to be produced by make_html_playlist.py
should be included in the same directory as your Python code. The checkout program will just zip up everything in that directory.
To create your submission file, do the following:
-
Download the program file:
cw3_checkout.py
- Make sure it is in the same directory as your CW3 program files.
-
Open and run
cw3_checkout.py
in Spyder or some other Python IDE. - You will then see the output resulting from running your programs on some test data.
-
A file
cw3.zip
will then be created atomatically created. This is the file you should submit via Minerva.
Note on File Paths and URLs
You should avoid using file paths or URLs that refer to the particular folders on your computer, otherwise the code will not work on my computer. Normally any with any command that uses a path or URL you can just use the file name and it will look for the file in the directory where the program is being run or where the html file being viewed is located. You can test whether you program is depended on its particular folder location by simply copying all the files from that folder to another folder and running it in that other folder.
2019-12-11