Navigation
- index
- modules |
- next |
- previous |
- Python »
- 3.16.0a2 documentation »
- The Python standard library »
- Python Runtime Services
- |
- Theme |
Python Runtime Services¶
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 monitoringsysconfig— Provide access to Python’s configuration informationbuiltins— Built-in objects__main__— Top-level code environmentwarnings— Warning controldataclasses— Data Classescontextlib— Utilities forwith-statement contextsabc— Abstract Base Classesatexit— Exit handlerstraceback— Print or retrieve a stack traceback__future__— Future statement definitionsgc— Garbage Collector interfaceinspect— Inspect live objectsannotationlib— Functionality for introspecting annotationssite— Site-specific configuration hook
See also
See the
concurrent.interpretersmodule, which similarly exposes core runtime functionality.
Previous topic
zipapp — Manage executable Python zip archives
Next topic
sys — System-specific parameters and functions
This page
«Navigation
- index
- modules |
- next |
- previous |
- Python »
- 3.16.0a2 documentation »
- The Python standard library »
- Python Runtime Services
- |
- Theme |
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Nov 29, 2026 (04:54 UTC). Found a bug?
Created using Sphinx 9.1.1.