Thank You for 10 years of Python Module of the Week!

This year marks the 10th anniversary of the first post for the Python Module of the Week series. What started as an exercise to push myself to write on a regular basis has, thanks to all of you, evolved into a much more long-lived and popular endeavor than I ever expected. A project of this scope is truly a group effort, and I have been fortunate to find good people to work with. I would like to take this opportunity to thank all of them, too.

A short time after starting PyMOTW, I also started working on Python Magazine, and that made me interested in more formal publishing options. I met Debra Williams Cauley from Pearson Education at PyCon. Debra showed me how to frame the blog and website content in a form that would work as a book, and guided me through the process. I revised the content I had for the web site to make it ready for The Python Standard Library by Example over the course of 2011, with technical review help from Matt Culbreth, Katie Cunningham, Jeff McNeil, and Keyton Wessinger. The folks on the Pearson production staff were amazing, and the book was definitely stronger and more successful due to their help. I’m extremely happy with the results of what we were able to create together.

Even though Python 3 was available at that time I started, it was not widely adopted yet, so the original edition of the blog and book were focused on Python 2. As expected, we are starting to see an increasing number of tools and libraries drop their compatibility layers so they support only Python 3. Many new Python developers are starting with 3, skipping 2 entirely. Due to the continued popularity of both the site and the book, I knew it was time to pick up the project again.

I started looking seriously at updating the examples on to use Python 3.5 in 2015, and began publishing updates to the site the following year, pruning the modules that were deprecated and adding examples for some of the new modules. I’m grateful for the feedback I received from early readers of those posts, enabling me to make improvements and corrections as I worked. I received special assistance from Jim Baker, who helped with the readline module examples (especially by pointing out the gnureadline package for platforms where GNU libraries are old or not installed by default, like on my Mac) and Patrick Kettner, who ran the platform module examples on Windows and provided the output for me to include. Thank you both! The technical reviewers for the new book were Diana Clarke, Ian Cordasco, Mark McClain, Paul McLanahan, and Ryan Petrello. All of them were very helpful in spotting errors and any confusing sections. As before, the Pearson production team has been exceptional partners.

The updated examples for Python 3.5 are all available now at, and The Python 3 Standard Library by Example is available for sale now. I hope you all find the new version as useful as the original.

The project would not be what it is today without the encouragement and interest from the community. It’s always gratifying to hear from all of you who found either the site or the book useful in your work. Thank you for your continued support!

Updated: I overlooked the contribution from Jesse Noller, who wrote the foreword for the first book. That’s no small thing, and I appreciate the time he invested on that and the nice things he said. I also appreciate Raymond Hettinger’s blurb on the back of the new book. Thank you both.