Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python v3.0 documentation Β»
  • The Python Standard Library Β»

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 functions
  • builtins β€” Built-in objects
  • __main__ β€” Top-level script environment
  • warnings β€” Warning control
    • Warning Categories
    • The Warnings Filter
    • Temporarily Suppressing Warnings
    • Testing Warnings
    • Available Functions
    • Available Context Managers
  • contextlib β€” Utilities for with-statement contexts.
  • abc β€” Abstract Base Classes
  • atexit β€” Exit handlers
    • atexit Example
  • traceback β€” Print or retrieve a stack traceback
    • Traceback Examples
  • __future__ β€” Future statement definitions
  • gc β€” Garbage Collector interface
  • inspect β€” Inspect live objects
    • Types and members
    • Retrieving source code
    • Classes and functions
    • The interpreter stack
  • site β€” Site-specific configuration hook
  • fpectl β€” Floating point exception control
    • Example
    • Limitations and other considerations

Previous topic

trace β€” Trace or track Python statement execution

Next topic

sys β€” System-specific parameters and functions

This Page

  • Show Source

Quick search

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python v3.0 documentation Β»
  • The Python Standard Library Β»
Β© Copyright 1990-2008, Python Software Foundation. Last updated on Dec 04, 2008. Created using Sphinx 0.5.