python_module_of_the_week_pymotw

Python Module of the Week (PyMOTW)

Text

Data Structures

Algorithms

Dates and Times

Mathematics

The File System

Data Persistence and Exchange

Data Compression and Archiving

Cryptography

Concurrency with Processes, Threads, and Coroutines

Networking

The Internet

Email

Application Building Blocks

Internationalization and Localization

Developer Tools

Runtime Features

Language Tools

Modules and Packages

Unix-specific Services

Porting Notes

Outside of the Standard Library

About Python Module of the Week

PyMOTW-3 is a series of Python articles written by Doug Hellmann to demonstrate how to use the Python 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-1.0.tar.gz as a single downloadable archive.

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

Subscribe

As new Python articles are written, they are posted to Doug Hellman's blog as well as https://pymotw.com. Updates are available by RSS from https://feeds.doughellmann.com/PyMOTW and email. Follow @pymotw or @doughellmann on Twitter for updates as well.

Tools

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

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

$ python3 -V

Python 3.7.1

Translations and Other Versions

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 © 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.”

Fair Use Source: https://pymotw.com/3/about.html#copyright-and-licensing

Fair Use Sources

Python Standard Library:

Python Standard Library os Module, Python Standard Library sys Module, Python Standard Library datetime Module, Python Standard Library json Module, Python Standard Library logging Module, Python Standard Library re Module, Python Standard Library subprocess Module, Python Standard Library threading Module, Python Standard Library copy Module, Python Standard Library csv Module, Python Standard Library argparse Module, Python Standard Library math Module, Python Standard Library random Module, Python Standard Library collections Module, Python Standard Library io Module, Python Standard Library pickle Module, Python Standard Library base64 Module, Python Standard Library time Module, Python Standard Library calendar Module, Python Standard Library hashlib Module, Python Standard Library http Module, Python Standard Library socket Module, Python Standard Library ssl Module, Python Standard Library urllib Module, Python Standard Library xml Module, Python Standard Library email Module, Python Standard Library unittest Module, Python Standard Library pdb Module, Python Standard Library traceback Module, Python Standard Library multiprocessing Module, Python Standard Library concurrent.futures Module, Python Standard Library queue Module, Python Standard Library asyncio Module, Python Standard Library shutil Module, Python Standard Library tempfile Module, Python Standard Library glob Module, Python Standard Library fnmatch Module, Python Standard Library linecache Module, Python Standard Library operator Module, Python Standard Library pathlib Module, Python Standard Library fileinput Module, Python Standard Library stat Module, Python Standard Library filecmp Module, Python Standard Library mmap Module, Python Standard Library sqlite3 Module, Python Standard Library ftplib Module, Python Standard Library poplib Module, Python Standard Library smtplib Module, Python Standard Library telnetlib Module, Python Standard Library uuid Module, Python Standard Library bz2 Module, Python Standard Library gzip Module, Python Standard Library lzma Module, Python Standard Library zipfile Module, Python Standard Library configparser Module, Python Standard Library getopt Module, Python Standard Library argparse Module, Python Standard Library logging.config Module, Python Standard Library logging.handlers Module, Python Standard Library getpass Module, Python Standard Library curses Module, Python Standard Library platform Module, Python Standard Library errno Module, Python Standard Library ctypes Module, Python Standard Library struct Module, Python Standard Library binascii Module, Python Standard Library codecs Module, Python Standard Library dis Module, Python Standard Library imp Module, Python Standard Library importlib Module, Python Standard Library pkgutil Module, Python Standard Library inspect Module, Python Standard Library token Module, Python Standard Library ast Module, Python Standard Library symtable Module, Python Standard Library symbol Module, Python Standard Library tokenize Module, Python Standard Library keyword Module, Python Standard Library heapq Module, Python Standard Library bisect Module, Python Standard Library itertools Module, Python Standard Library functools Module, Python Standard Library operator Module, Python Standard Library contextlib Module, Python Standard Library weakref Module, Python Standard Library gc Module, Python Standard Library copyreg Module, Python Standard Library reprlib Module, Python Standard Library enum Module, Python Standard Library types Module, Python Standard Library decimal Module, Python Standard Library fractions Module, Python Standard Library random Module, Python Standard Library statistics Module, Python Standard Library math Module, Python Standard Library cmath

Python Standard Library Glossary, PEPs related to the Python Standard Library, Python Scripting, Python Keywords, Python Data Structures and the Python Standard Library - Python Algorithms and the Python Standard Library, Python OOP and the Python Standard Library - Python Design Patterns and the Python Standard Library, Python Module Index, pymotw.com;

Python DevOps Libraries - Python SRE Libraries, Python Data Science Libraries - Python DataOps Libraries, Python Machine Learning Libraries, Python Deep Learning Libraries, Functional Python Libraries, Python Concurrency Libraries - Python GIL Libraries - Python Async Libraries (Asyncio), Python Testing Libraries (Pytest), Python Frameworks Python Library Topics, Python GitHub Libraries, Python Awesome. (navbar_python_standard_library - see also navbar_python, navbar_python_libaries, navbar_python_virtual_environments, navbar_numpy, navbar_datascience)

Python: Python Variables, Python Data Types, Python Control Structures, Python Loops, Python Functions, Python Modules, Python Packages, Python File Handling, Python Errors and Exceptions, Python Classes and Objects, Python Inheritance, Python Polymorphism, Python Encapsulation, Python Abstraction, Python Lists, Python Dictionaries, Python Tuples, Python Sets, Python String Manipulation, Python Regular Expressions, Python Comprehensions, Python Lambda Functions, Python Map, Filter, and Reduce, Python Decorators, Python Generators, Python Context Managers, Python Concurrency with Threads, Python Asynchronous Programming, Python Multiprocessing, Python Networking, Python Database Interaction, Python Debugging, Python Testing and Unit Testing, Python Virtual Environments, Python Package Management, Python Data Analysis, Python Data Visualization, Python Web Scraping, Python Web Development with Flask/Django, Python API Interaction, Python GUI Programming, Python Game Development, Python Security and Cryptography, Python Blockchain Programming, Python Machine Learning, Python Deep Learning, Python Natural Language Processing, Python Computer Vision, Python Robotics, Python Scientific Computing, Python Data Engineering, Python Cloud Computing, Python DevOps Tools, Python Performance Optimization, Python Design Patterns, Python Type Hints, Python Version Control with Git, Python Documentation, Python Internationalization and Localization, Python Accessibility, Python Configurations and Environments, Python Continuous Integration/Continuous Deployment, Python Algorithm Design, Python Problem Solving, Python Code Readability, Python Software Architecture, Python Refactoring, Python Integration with Other Languages, Python Microservices Architecture, Python Serverless Computing, Python Big Data Analysis, Python Internet of Things (IoT), Python Geospatial Analysis, Python Quantum Computing, Python Bioinformatics, Python Ethical Hacking, Python Artificial Intelligence, Python Augmented Reality and Virtual Reality, Python Blockchain Applications, Python Chatbots, Python Voice Assistants, Python Edge Computing, Python Graph Algorithms, Python Social Network Analysis, Python Time Series Analysis, Python Image Processing, Python Audio Processing, Python Video Processing, Python 3D Programming, Python Parallel Computing, Python Event-Driven Programming, Python Reactive Programming.

Variables, Data Types, Control Structures, Loops, Functions, Modules, Packages, File Handling, Errors and Exceptions, Classes and Objects, Inheritance, Polymorphism, Encapsulation, Abstraction, Lists, Dictionaries, Tuples, Sets, String Manipulation, Regular Expressions, Comprehensions, Lambda Functions, Map, Filter, and Reduce, Decorators, Generators, Context Managers, Concurrency with Threads, Asynchronous Programming, Multiprocessing, Networking, Database Interaction, Debugging, Testing and Unit Testing, Virtual Environments, Package Management, Data Analysis, Data Visualization, Web Scraping, Web Development with Flask/Django, API Interaction, GUI Programming, Game Development, Security and Cryptography, Blockchain Programming, Machine Learning, Deep Learning, Natural Language Processing, Computer Vision, Robotics, Scientific Computing, Data Engineering, Cloud Computing, DevOps Tools, Performance Optimization, Design Patterns, Type Hints, Version Control with Git, Documentation, Internationalization and Localization, Accessibility, Configurations and Environments, Continuous Integration/Continuous Deployment, Algorithm Design, Problem Solving, Code Readability, Software Architecture, Refactoring, Integration with Other Languages, Microservices Architecture, Serverless Computing, Big Data Analysis, Internet of Things (IoT), Geospatial Analysis, Quantum Computing, Bioinformatics, Ethical Hacking, Artificial Intelligence, Augmented Reality and Virtual Reality, Blockchain Applications, Chatbots, Voice Assistants, Edge Computing, Graph Algorithms, Social Network Analysis, Time Series Analysis, Image Processing, Audio Processing, Video Processing, 3D Programming, Parallel Computing, Event-Driven Programming, Reactive Programming.


Python Glossary, Python Fundamentals, Python Inventor: Python Language Designer: Guido van Rossum on 20 February 1991; PEPs, Python Scripting, Python Keywords, Python Built-In Data Types, Python Data Structures - Python Algorithms, Python Syntax, Python OOP - Python Design Patterns, Python Module Index, pymotw.com, Python Package Manager (pip-PyPI), Python Virtualization (Conda, Miniconda, Virtualenv, Pipenv, Poetry), Python Interpreter, CPython, Python REPL, Python IDEs (PyCharm, Jupyter Notebook), Python Development Tools, Python Linter, Pythonista-Python User, Python Uses, List of Python Software, Python Popularity, Python Compiler, Python Transpiler, Python DevOps - Python SRE, Python Data Science - Python DataOps, Python Machine Learning, Python Deep Learning, Functional Python, Python Concurrency - Python GIL - Python Async (Asyncio), Python Standard Library, Python Testing (Pytest), Python Libraries (Flask), Python Frameworks (Django), Python History, Python Bibliography, Manning Python Series, Python Official Glossary - Python Glossary, Python Topics, Python Courses, Python Research, Python GitHub, Written in Python, Python Awesome List, Python Versions. (navbar_python - see also navbar_python_libaries, navbar_python_standard_library, navbar_python_virtual_environments, navbar_numpy, navbar_datascience)


© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


python_module_of_the_week_pymotw.txt · Last modified: 2024/04/28 03:14 by 127.0.0.1