Skip to content

Commit 3d4e282

Browse files
committed
added resources to session 5
1 parent e8656f3 commit 3d4e282

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

slides_sources/source/session05.rst

Lines changed: 29 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,3 +727,17 @@ Catch up!
713727
Material to review before next week:
714728
====================================
715729
730+
**Unit Testing:**
731+
732+
* Dive into Python: chapter 9:
733+
http://www.diveintopython3.net/unit-testing.html
734+
735+
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.
736+
737+
* Ned Batchelder's into to testing presentation:
738+
http://nedbatchelder.com/text/test0.html
739+
740+
** Advanced Argument Passing
741+
742+
* arguments and parameters:
743+
http://stupidpythonideas.blogspot.com/2013/08/arguments-and-parameters.html

0 commit comments

Comments
 (0)