Python Standard Library Flashcards

Table of Contents

Python Version   drill python_standard_library

Front

What is the latest Python version mentioned in the text?

Back

3.12.4

Python Language Reference   drill python_standard_library

Front

What does the Python Language Reference describe?

Back

The exact syntax and semantics of the Python language

Python Standard Library Reference Manual   drill python_standard_library

Front

What does the Python Standard Library Reference Manual describe?

Back

The standard library that is distributed with Python and some optional components commonly included in Python distributions

Built-in Modules   drill python_standard_library

Front

What are built-in modules in Python's standard library?

Back

Modules written in C that provide access to system functionality (like file I/O) that would otherwise be inaccessible to Python programmers

Python Package Index   drill python_standard_library

Front

What is the Python Package Index?

Back

An active collection of hundreds of thousands of components (from individual programs and modules to packages and entire application development frameworks)

Python on Unix-like Systems   drill python_standard_library

Front

How is Python typically provided for Unix-like operating systems?

Back

As a collection of packages, requiring the use of packaging tools provided with the operating system to obtain some or all optional components

stringprep Module   drill python_standard_library

Front

What does the 'stringprep' module in Python do?

Back

Internet String Preparation

zoneinfo Module   drill python_standard_library

Front

What is the purpose of the 'zoneinfo' module?

Back

IANA time zone support

reprlib Module   drill python_standard_library

Front

What does the 'reprlib' module provide?

Back

Alternate repr() implementation

sqlite3 Module   drill python_standard_library

Front

What is the function of the 'sqlite3' module?

Back

Provides DB-API 2.0 interface for SQLite databases

secrets Module   drill python_standard_library

Front

What does the 'secrets' module do?

Back

Generate secure random numbers for managing secrets

argparse Module   drill python_standard_library

Front

What is the primary function of the 'argparse' module?

Back

Parser for command-line options, arguments and sub-commands

asyncio Module   drill python_standard_library

Front

What does the 'asyncio' module provide?

Back

Asynchronous I/O

unittest.mock Module   drill python_standard_library

Front

What is the purpose of the 'unittest.mock' module?

Back

Provides a mock object library for testing

ensurepip Module   drill python_standard_library

Front

What does the 'ensurepip' module do?

Back

Bootstrapping the pip installer

gc Module   drill python_standard_library

Front

What is the function of the 'gc' module?

Back

Provides an interface to the Garbage Collector

ast Module   drill python_standard_library

Front

What does the 'ast' module represent?

Back

Abstract Syntax Trees

msvcrt Module   drill python_standard_library

Front

What is the purpose of the 'msvcrt' module?

Back

Provides useful routines from the MS VC++ runtime (Windows-specific)

syslog Module   drill python_standard_library

Front

What does the 'syslog' module provide?

Back

Unix syslog library routines

Author: Jason Walsh

j@wal.sh

Last Updated: 2024-10-30 16:43:54