Skip to content

Commit 684aec0

Browse files
committed
2 parents abdd608 + 1fde987 commit 684aec0

File tree

3 files changed

+44
-5
lines changed

3 files changed

+44
-5
lines changed

Syllabus.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,15 +291,17 @@ Testing
291291

292292
Advanced Argument passing
293293

294-
Lambda
295294

296-
Functions as Objects
297295

298296
**No class Nov 8th for election night**
299297

300298
Week 7: November 15
301299
...................
302300

301+
Lambda
302+
303+
Functions as Objects
304+
303305
Object Oriented Programming: classes, instances, and methods
304306

305307

slides_sources/source/session05.rst

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,20 @@ Anyone look at my solutions?
268268

269269
Anything in particular you'd like me to go over?
270270

271+
272+
trigrams
273+
--------
274+
275+
Let's take a close look at trigrams!
276+
277+
Some of you have already done a nice solution to this.
278+
279+
But some of you are not sure how to start.
280+
281+
So let's start from the beginning...
282+
283+
(demo)
284+
271285
Lightning Talks
272286
----------------
273287

@@ -702,7 +716,7 @@ Catch up!
702716
* Catch up from last week.
703717
704718
- Add Exception handling to mailroom
705-
- and list (and dict, and set) comprehensions...
719+
- And list (and dict, and set) comprehensions...
706720
707721
* If you've done all that -- check out the collections module:
708722
@@ -713,6 +727,22 @@ Catch up!
713727
Material to review before next week:
714728
====================================
715729
730+
<<<<<<< HEAD
731+
**Unit Testing:**
732+
733+
* Dive into Python: chapter 9:
734+
http://www.diveintopython3.net/unit-testing.html
735+
736+
NOTE: you will find that most introductions to unit testing with Python use the builtin ``unitest`` module. However, it is a bit heavyweight, and requires some knowledge of OOP -- classes, etc. So we'll be using pytest in this class: http://doc.pytest.org/en/latest/. But the principles of testing are the same.
737+
738+
* Ned Batchelder's into to testing presentation:
739+
http://nedbatchelder.com/text/test0.html
740+
741+
** Advanced Argument Passing
742+
743+
* arguments and parameters:
744+
http://stupidpythonideas.blogspot.com/2013/08/arguments-and-parameters.html
745+
=======
716746
Advanced Argument Passing:
717747
718748
https://pythontips.com/2013/08/04/args-and-kwargs-in-python-explained/
@@ -721,3 +751,4 @@ Lambda:
721751
722752
http://www.blog.pythonlibrary.org/2015/10/28/python-101-lambda-basics/
723753
https://pythonconquerstheuniverse.wordpress.com/2011/08/29/lambda_tutorial/
754+
>>>>>>> 6c9ee7938fd092bce1f3fe304ebb95b7214bcfcc

slides_sources/source/session06.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,13 @@ Finish up the Labs
11081108
Material to review for next week
11091109
--------------------------------
11101110

1111-
Object Oreiented Programming:
1111+
Lambda:
1112+
1113+
http://www.blog.pythonlibrary.org/2015/10/28/python-101-lambda-basics/
1114+
1115+
https://pythonconquerstheuniverse.wordpress.com/2011/08/29/lambda_tutorial/
1116+
1117+
Object Oriented Programming:
11121118

11131119
* Dive into Python3: 7.2 -- 7.3
11141120
http://www.diveintopython3.net/iterators.html#defining-classes
@@ -1121,7 +1127,7 @@ Object Oreiented Programming:
11211127

11221128
[note that in py3 you don't need to inherit from object]
11231129

1124-
Talk by Raymond Hettinger:
1130+
Talks by Raymond Hettinger:
11251131

11261132
https://youtu.be/HTLu2DFOdTg
11271133

0 commit comments

Comments
 (0)