9. Numeric and Mathematical Modules
9.1. numbers — Numeric abstract base classes
9.2. math — Mathematical functions
9.3. cmath — Mathematical functions for complex numbers
9.4. decimal — Decimal fixed point and floating point arithmetic
9.5. fractions — Rational numbers
9.6. random — Generate pseudo-random numbers
9.7. statistics — Mathematical statistics functions
10. Functional Programming Modules
10.1. itertools — Functions creating iterators for efficient looping
10.2. functools — Higher-order functions and operations on callable objects
10.3. operator — Standard operators as functions
11. File and Directory Access
11.1. pathlib — Object-oriented filesystem paths
11.2. os.path — Common pathname manipulations
11.3. fileinput — Iterate over lines from multiple input streams
11.4. stat — Interpreting stat() results
11.5. filecmp — File and Directory Comparisons
11.6. tempfile — Generate temporary files and directories
11.7. glob — Unix style pathname pattern expansion
11.8. fnmatch — Unix filename pattern matching
11.9. linecache — Random access to text lines
11.10. shutil — High-level file operations
11.11. macpath — Mac OS 9 path manipulation functions
12. Data Persistence
12.1. pickle — Python object serialization
12.2. copyreg — Register pickle support functions
12.3. shelve — Python object persistence
12.4. marshal — Internal Python object serialization
12.5. dbm — Interfaces to Unix “databases”
12.6. sqlite3 — DB-API 2.0 interface for SQLite databases
13. Data Compression and Archiving
13.1. zlib — Compression compatible with gzip
13.2. gzip — Support for gzip files
13.3. bz2 — Support for bzip2 compression
13.4. lzma — Compression using the LZMA algorithm
13.5. zipfile — Work with ZIP archives
13.6. tarfile — Read and write tar archive files
14. File Formats
14.1. csv — CSV File Reading and Writing
14.2. configparser — Configuration file parser
14.3. netrc — netrc file processing
14.4. xdrlib — Encode and decode XDR data
14.5. plistlib — Generate and parse Mac OS X .plist files
15. Cryptographic Services
15.1. hashlib — Secure hashes and message digests
15.2. hmac — Keyed-Hashing for Message Authentication
16. Generic Operating System Services
16.1. os — Miscellaneous operating system interfaces
16.2. io — Core tools for working with streams
16.3. time — Time access and conversions
16.4. argparse — Parser for command-line options, arguments and sub-commands
16.5. getopt — C-style parser for command line options
16.6. logging — Logging facility for Python
16.7. logging.config — Logging configuration
16.8. logging.handlers — Logging handlers
16.9. getpass — Portable password input
16.10. curses — Terminal handling for character-cell displays
16.11. curses.textpad — Text input widget for curses programs
16.12. curses.ascii — Utilities for ASCII characters
16.13. curses.panel — A panel stack extension for curses
16.14. platform — Access to underlying platform’s identifying data
16.15. errno — Standard errno system symbols
16.16. ctypes — A foreign function library for Python
17. Concurrent Execution
17.1. threading — Thread-based parallelism
17.2. multiprocessing — Process-based parallelism
17.3. The concurrent package
17.4. concurrent.futures — Launching parallel tasks
17.5. subprocess — Subprocess management
17.6. sched — Event scheduler
17.7. queue — A synchronized queue class
17.8. dummy_threading — Drop-in replacement for the threading module
17.9. _thread — Low-level threading API
17.10. _dummy_thread — Drop-in replacement for the _thread module
18. Interprocess Communication and Networking
18.1. socket — Low-level networking interface
18.2. ssl — TLS/SSL wrapper for socket objects
18.3. select — Waiting for I/O completion
18.4. selectors – High-level I/O multiplexing
18.5. asyncio – Asynchronous I/O, event loop, coroutines and tasks
18.6. asyncore — Asynchronous socket handler
18.7. asynchat — Asynchronous socket command/response handler
18.8. signal — Set handlers for asynchronous events
18.9. mmap — Memory-mapped file support
19. Internet Data Handling
19.1. email — An email and MIME handling package