Week | Dates | Topic | Reading (optional in parens) | Homework |
---|---|---|---|---|
1 | Sept 25 | Introduction to the Course, Computers, and Python. |
Zelle ch 1 Downey ch 2, 6-7 |
HW0: SW installation; string and list operations HW1: Count chars, words, lines in a file; setting up an svn repository. |
2 | Oct 1, Oct 3 |
Operations on strings and lists. Iteration on sequences. File operations. Version control. |
Zelle ch 3 Zelle ch 7 Zelle 4.5 (Downey ch 5) |
HW2: File operations. |
3 | Oct 8, Oct 10 |
Conditionals Dictionary data structure Mashups & APIs |
Zelle ch 3 Zelle ch 7 Zelle 4.5 (Downey ch 5) |
P0: Find an interesting API HW3: Contributor counts |
4 | Oct 15, 17 |
Functions. Parameter passing and returning values Indefinite iteration; nested data structure, and nested iteration JSON processing Ideation & Prioritization |
Zelle ch 6 “The Art of Brainstorming” |
HW4: Refactor HW3 using functions; output as .csv files; generate charts in Google Docs, Excel, or D3 P1: Adding value to data |
5 | Oct 22, 24 |
Objects and Classes Mid-quarter course feedback URL lib; Try/except; |
Zelle ch 8 Zelle ch 10 Tutorial on urllib2; |
HW5: Calculate likes and comment frequencies from a JSON feed, use classes |
6 | Oct 29, 31 |
REST APIs Sorting List comprehensions |
List comprehensions: Wikipedia; another explanation w/ nice examples |
HW6: Fetching and processing a live feed. |
7 | Nov 5, 7 |
HTML & CSS (briefly) Google App Engine |
Severance ch 2; CSS tutorial |
P2: Project proposal. HW7: APIs |
8 | Nov 12, 14 |
App Engine & HTML Forms 14 November: World usability day |
Review — exercises from books. | HW8: Sorting; more data processing. Review |
9 | Nov 19, 21 |
19 November: Review 21 November: Exam in class |
||
10 | Nov 26 | App Engine & oAuth |
||
11 | Dec 3, 5 | App engine: Datastore App engine: Google Auth Map-Reduce |
Map-Reduce: tutorial (don't worry too much about the syntax), App Engine Overview |
R1: Resource writeup |
F | P3 & P4: Final projects due / presentations |