About Python Module of the Week¶
See the project home page at https://pymotw.com/3/ for updates.
Source code is available via git from https://github.com/dhellmann/pymotw-3/.
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 https://feeds.feedburner.com/PyMOTW. Follow @pymotw or @doughellmann for updates as well.
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.7.1
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.
Jaron has translated most of the articles into Chinese for pandacademy.com.
Ernesto Rico Schmidt has translated all of the articles into Spanish.
Copyright and Licensing¶
All of the prose from the Python Module of the Week is licensed under a Creative Commons Attribution, Non-commercial, Share-alike 4.0 license. You are free to share and create derivative works from it. If you post the material online, you must give attribution and link to the PyMOTW home page (https://pymotw.com/). You may not use this work for commercial purposes. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.
The source code included here is copyright Doug Hellmann and licensed under the BSD license.
Copyright (c) 2015, Doug Hellmann, All Rights Reserved
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.