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 functionssysconfigâ Provide access to Pythonâs configuration informationbuiltinsâ Built-in objects__main__â Top-level script 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 objectssiteâ Site-specific configuration hook