About Python Module of the Week

PyMOTW-3 is a series of articles written by Doug Hellmann. to demonstrate how to use the modules of the Python 3 standard library. It is based on the original PyMOTW series, which covered Python 2.7.

See the project home page at https://pymotw.com/3/ for updates.

Source code is available via git from https://bitbucket.org/dhellmann/pymotw-3/ or https://pymotw.com/3/PyMOTW-3-0.0.tar.gz as a single downloadable archive.

Complete documentation for the standard library can be found on the Python web site at https://docs.python.org/3/library/.


As new articles are written, they are posted to my blog as well as https://pymotw.com. Updates are available by RSS from http://feeds.doughellmann.com/PyMOTW and email. Follow @pymotw or @doughellmann for updates as well.


The source text for PyMOTW-3 is reStructuredText and the HTML output is created using Sphinx.

The output from all the example programs has been generated with CPython (see below for version) and inserted into the text using cog.

$ python3 -V

Python 3.5.2


Some of the features described here may not be available in earlier versions of the standard library. When in doubt, refer to the documentation for the version of Python you are using.

Translations and Other Versions


Roberto Pauletto has started translating the Python 3 articles into Italian.