The Python Standard Library By Example

This is the source code bundle for the book The Python Standard Library By Example. It is an updated version of the source from the Python Module of the Week blog series by Doug Hellmann.

The PyMOTW posts for Python 2 ended when I started working on the book in 2010. Now that the book is released, I am tagging the version of the source code from the book as "PyMOTW 2.0" and maintaining any fixes in the new py_stdlib_by_example repository on BitBucket.

Book Home Page:http://www.doughellmann.com/books/byexample/
Issue Tracker and Source:
PyMOTW Home Page:


The source code included here is copyright Doug Hellmann and licensed under the BSD license. See LICENSE.txt for complete details.



  • Patch release to remove unused console script motw and fix other packaging issues.


  • First release associated with the book.