-
Notifications
You must be signed in to change notification settings - Fork 100
Homework 1
Jinho D. Choi edited this page Feb 8, 2016
·
6 revisions
The goal of this task is to map information between multiple webpages. Your python program must do the followings:
-
Read the course webpage, and save the course information (e.g.,
parse_html.py
). -
Read the exam calendar webpage and save the exam information for the current semester.
-
When the program is run, it should print the following information:
COURSE SECION LOCATION CLASS HOURS FINAL DATE FINAL HOURS CS130R 000 MSC: W303 M 4:00pm - 4:50pm 28-Apr 11:30 A.M - 2:00 P.M ... CS329 001 MSC: W201 MW 2:30pm - 3:45pm 3-May 3:00 P.M - 5:30 P.M ... CS455 000 MSC: W306 TuTh 10:00am - 11:15am 2-May 8:00 A.M - 10:30 A.M
- Write a python program
hw1.py
that satisfies the above condition. - Put
hw1.py
under the directorycs329/hw1
.
- The information needs to be in a pretty format.
- Some courses have their schedules spread out between lectures and labs (e.g., CS130R). Your program should handle this as well. Also, lab sessions that do not have the final exams scheduled should not be printed.
Copyright © 2016 Emory University - All Rights Reserved.