The modules described in this chapter provide a wide range of services related to the Python interpreter and its interaction with its environment. Here’s an overview:
sys — System-specific parameters and functionssys.monitoring — Execution event monitoring sysconfig — Provide access to Python’s configuration information builtins — Built-in objects__main__ — Top-level code environment warnings — Warning control dataclasses — Data Classes contextlib — Utilities for with-statement contexts abc — Abstract Base Classesatexit — Exit handlers traceback — Print or retrieve a stack traceback __future__ — Future statement definitionsgc — Garbage Collector interfaceinspect — Inspect live objects site — Site-specific configuration hook
© 2001–2023 Python Software Foundation
Licensed under the PSF License.
https://docs.python.org/3.12/library/python.html