Python Standard Library Flashcards

Table of Contents

1. Python Version   drill python_standard_library

1.1. Front

What is the latest Python version mentioned in the text?

1.2. Back

3.12.4

2. Python Language Reference   drill python_standard_library

2.1. Front

What does the Python Language Reference describe?

2.2. Back

The exact syntax and semantics of the Python language

3. Python Standard Library Reference Manual   drill python_standard_library

3.1. Front

What does the Python Standard Library Reference Manual describe?

3.2. Back

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

4. Built-in Modules   drill python_standard_library

4.1. Front

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

4.2. Back

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

5. Python Package Index   drill python_standard_library

5.1. Front

What is the Python Package Index?

5.2. Back

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

6. Python on Unix-like Systems   drill python_standard_library

6.1. Front

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

6.2. Back

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

7. stringprep Module   drill python_standard_library

7.1. Front

What does the 'stringprep' module in Python do?

7.2. Back

Internet String Preparation

8. zoneinfo Module   drill python_standard_library

8.1. Front

What is the purpose of the 'zoneinfo' module?

8.2. Back

IANA time zone support

9. reprlib Module   drill python_standard_library

9.1. Front

What does the 'reprlib' module provide?

9.2. Back

Alternate repr() implementation

10. sqlite3 Module   drill python_standard_library

10.1. Front

What is the function of the 'sqlite3' module?

10.2. Back

Provides DB-API 2.0 interface for SQLite databases

11. secrets Module   drill python_standard_library

11.1. Front

What does the 'secrets' module do?

11.2. Back

Generate secure random numbers for managing secrets

12. argparse Module   drill python_standard_library

12.1. Front

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

12.2. Back

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

13. asyncio Module   drill python_standard_library

13.1. Front

What does the 'asyncio' module provide?

13.2. Back

Asynchronous I/O

14. unittest.mock Module   drill python_standard_library

14.1. Front

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

14.2. Back

Provides a mock object library for testing

15. ensurepip Module   drill python_standard_library

15.1. Front

What does the 'ensurepip' module do?

15.2. Back

Bootstrapping the pip installer

16. gc Module   drill python_standard_library

16.1. Front

What is the function of the 'gc' module?

16.2. Back

Provides an interface to the Garbage Collector

17. ast Module   drill python_standard_library

17.1. Front

What does the 'ast' module represent?

17.2. Back

Abstract Syntax Trees

18. msvcrt Module   drill python_standard_library

18.1. Front

What is the purpose of the 'msvcrt' module?

18.2. Back

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

19. syslog Module   drill python_standard_library

19.1. Front

What does the 'syslog' module provide?

19.2. Back

Unix syslog library routines