Skip to content

Commit 37818c6

Browse files
committed
2 parents bb33cef + 9e567e8 commit 37818c6

File tree

4 files changed

+47
-6
lines changed

4 files changed

+47
-6
lines changed

res/.DS_Store

0 Bytes
Binary file not shown.

res/lecture-code/Lecture5.zip

6.71 KB
Binary file not shown.

res/lectures.json

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"video": "https://drive.google.com/open?id=1TqtuwNhPdWhB6MQEDTFuCS-8A3p83YnX",
99
"video_note": "Our video camera ran out of memory, so the final 30 minutes of class are not recorded",
1010
"visible": true,
11-
"active": false
11+
"active": false,
12+
"code": "#"
1213
},
1314
{
1415
"uid": "63a6f062-6bfb-4b90-9f3b-70c3901b3c7c",
@@ -19,7 +20,8 @@
1920
"video": "https://drive.google.com/open?id=1W8cziwcq40D8n70Hr716FHoURCXFQ3M9",
2021
"video_note": "#",
2122
"visible": true,
22-
"active": false
23+
"active": false,
24+
"code": "#"
2325
},
2426
{
2527
"uid": "617766a3-fe5e-4a3b-bfb4-7146b9fbc066",
@@ -30,7 +32,8 @@
3032
"video": "https://drive.google.com/open?id=1UYgRALGxbs9OcECt6xxA5zAEYAaP1u3I",
3133
"video_note": "#",
3234
"visible": true,
33-
"active": false
35+
"active": false,
36+
"code": "#"
3437
},
3538
{
3639
"uid": "a5c1679a-00c5-4384-9aa7-1fe51c7f4738",
@@ -41,7 +44,8 @@
4144
"video": "https://drive.google.com/open?id=1266CkQGrP37vZRdzASlMCcIUxdqubelu",
4245
"video_note": "#",
4346
"visible": true,
44-
"active": false
47+
"active": false,
48+
"code": "#"
4549
},
4650
{
4751
"uid": "ac17df12-0316-45c9-82a6-f74ba3019374",
@@ -52,6 +56,19 @@
5256
"video": "#",
5357
"video_note": "#",
5458
"visible": true,
55-
"active": true
59+
"active": false,
60+
"code": "#"
61+
}
62+
{
63+
"uid": "6d550bde-2779-43e4-a78a-536d0858dc0d",
64+
"title": "Python & the Web",
65+
"date": "2020-02-03",
66+
"condensed": "https://drive.google.com/open?id=1HFKN7gwRV795yNRYij6UvsE5VGLBrHnE",
67+
"full": "https://drive.google.com/open?id=1Tf9e36D4NSTqsd0ySOdpsA6qGXLdxUrq",
68+
"video": "#",
69+
"video_note": "#",
70+
"visible": true,
71+
"active": true,
72+
"code": "https://stanfordpython.com/res/lecture-code/Lecture5.zip"
5673
}
5774
]

res/schedule.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,37 @@
8686
{
8787
"title": "Functions and FP Lab",
8888
"date": "2020-01-29",
89-
"active": true,
89+
"active": false,
9090
"description": "This lab first drills function argument rules, then asks you to write functions utilizing the new superpowers offered by Python functions. Several function nuances are covered, including the danger of mutable default values. Then, we conduct a more thorough investigation of function objects and their attributes, at least in CPython. After, we'll use functions to explore the new programming paradigm that we've found in Python. We'll practice with map, filter, and lambda, and then explore functools.reduce and the operator module for more depth. As a thought experiment, we briefly discuss how to convert iterative Python code to functional code, and then practice with iterators and generators, using the itertools module to build power operators from linear algebra in under ten lines of Python. Closure semantics are also reviewed as a preview for the main event - writing decorators!"
9191
}
9292
],
9393
"dates": {
9494
"start": "2020-01-27",
9595
"end": "2020-01-31"
9696
}
97+
},
98+
{
99+
"uid": "5caba9d5-91cc-4594-9a3e-ed2f86543847",
100+
"num": 5,
101+
"title": "Python and the Web",
102+
"visible": true,
103+
"days": [
104+
{
105+
"title": "Python and the Web",
106+
"date": "2020-02-03",
107+
"active": true,
108+
"description": "We'll begin with an introduction to object-oriented programming in Python and a discussion of classes. Then, we'll turn to one of the most exciting applications of Python: it interacts so well with the internet. We'll start with using Python to query and parse websites. We'll talk about the design of websites and web languages like HTML and JSON. Then we'll discuss how to use Python to interact with these technologies by querying websites and parsing the response. We'll take a relevant detour to discuss Python's image processing libraries and how to process images on the web. After that, we'll transition to server-side web development and discuss how to build websites backed by Python. This lecture is the most demo-heavy of the quarter and by the end, we'll build an anagrammer application, backed by Python."
109+
},
110+
{
111+
"title": "Web Requests Lab",
112+
"date": "2020-02-05",
113+
"active": "false",
114+
"description": "This lab is very free-form. You can choose to implement a Reddit Wallpaper Scraper, which was a former assignment in CS 41, or you can work on pretty much anything else! It's getting to be midterm season, and we want everyone to enjoy themselves, and have fun learning Python in a low-stress environment. You could choose to explore more Python functions and features, start a final project, or continue in our Quest for the Unicorn."
115+
}
116+
],
117+
"dates": {
118+
"start": "2020-02-03",
119+
"end": "2020-02-07"
120+
}
97121
}
98122
]

0 commit comments

Comments
 (0)