瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • Python 2.6.9 說明文件 »
  • The Python Standard Library »
  • |

27. 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:

  • 27.1. sys — System-specific parameters and functions
  • 27.2. __builtin__ — Built-in objects
  • 27.3. future_builtins — Python 3 builtins
  • 27.4. __main__ — Top-level script environment
  • 27.5. warnings — Warning control
    • 27.5.1. Warning Categories
    • 27.5.2. The Warnings Filter
    • 27.5.3. Temporarily Suppressing Warnings
    • 27.5.4. Testing Warnings
    • 27.5.5. Available Functions
    • 27.5.6. Available Context Managers
  • 27.6. contextlib — Utilities for with-statement contexts
  • 27.7. abc — Abstract Base Classes
  • 27.8. atexit — Exit handlers
    • 27.8.1. atexit Example
  • 27.9. traceback — Print or retrieve a stack traceback
    • 27.9.1. Traceback Examples
  • 27.10. __future__ — Future statement definitions
  • 27.11. gc — Garbage Collector interface
  • 27.12. inspect — Inspect live objects
    • 27.12.1. Types and members
    • 27.12.2. Retrieving source code
    • 27.12.3. Classes and functions
    • 27.12.4. The interpreter stack
  • 27.13. site — Site-specific configuration hook
  • 27.14. user — User-specific configuration hook
  • 27.15. fpectl — Floating point exception control
    • 27.15.1. Example
    • 27.15.2. Limitations and other considerations
  • 27.16. distutils — Building and installing Python modules

上個主題

26.7. trace — Trace or track Python statement execution

下個主題

27.1. sys — System-specific parameters and functions

本頁

  • 顯示原始碼

快速搜尋

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • Python 2.6.9 說明文件 »
  • The Python Standard Library »
  • |
© 版權所有 1990-2025, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最後更新於 8月 10, 2025。
Created using Sphinx 1.8.4.