Week | Dates | Topic | Suggested Reading (complementary in parens) | Homework |
---|---|---|---|---|
1 | Sept 29 | Introduction to the Course, Computers, & Python. |
Zelle ch 1 Downey ch 2, 6-7 On the Value of Command-Line “Bullshittery” (Eytan Adar) |
HW0: SW installation; basic string operations |
2 | Oct 4, 6 |
Operations on strings and lists. Iteration on sequences. File operations. Version control. |
Zelle ch 3 Zelle ch 7 Zelle 4.5 (Downey ch 5) |
HW1: Count chars, words, lines in a file. File operations. |
3 | Oct 11, 13 |
Conditionals Dictionary data structure Functions. Parameter passing and returning values Mashups & APIs |
Zelle ch 3 Zelle ch 7 Zelle 4.5 (Downey ch 5) |
P0: Find an interesting API HW2: Contributor counts |
4 | Oct 18, 20 |
Indefinite iteration; nested data structure, and nested iteration JSON processing Introduction to Objects Ideation & Prioritization |
Zelle ch 6 “The Art of Brainstorming” |
HW3: Do more than HW2, with less. Output as .csv files; generate charts in Google Docs, Excel, or D3 P1: Adding value to data |
5 | Oct 25, 27 |
Objects and Classes URL lib; Try/except; |
Zelle ch 8 Zelle ch 10 Tutorial on urllib; |
HW4: Calculate likes and comment frequencies from a JSON feed, use classes |
6 | Nov 1, 3 |
1 Nov: Mid quarter feedback, REST APIs 3 Nov: REST APIs continued, lab time |
HW5: Fetching and processing a live feed. | |
7 | Nov 8, 10 |
8: Sorting & List Comprehensions 10: TBD |
List comprehensions: Wikipedia; another explanation w/ nice examples |
|
8 | Nov 15, 17 |
15 Nov: Jinja Templates & Flask 17 Nov: HTML & CSS (briefly), Deploying Flask apps to Google Cloud and PythonAnywhere. |
HW6: APIs, Sorting, more data processing. | |
9 | Nov 22, 24 |
22: TBD 24: Thanksgiving; no class |
P2: Project proposal. |
|
10 | Nov 29, Dec 1 |
29: Working with forms for user input in Flask 1: Flask & OAuth; App Engine Datastore |
||
11 | Dec 6, 8 |
6: Location & maps (brief); project time 8: Quarter wrap-up (brief); project time |
6 Dec: HW7 - Flask & APIs due 8 Dec: R1 - Resource writeup | |
F | Dec 13 |
13 Dec - P3: Final projects due |