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