瀏覽

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

Interprocess Communication and Networking¶

The modules described in this chapter provide mechanisms for different processes to communicate.

Some modules only work for two processes that are on the same machine, e.g. signal and subprocess. Other modules support networking protocols that two or more processes can used to communicate across machines.

The list of modules described in this chapter is:

  • subprocess — Subprocess management
    • Using the subprocess Module
      • Convenience Functions
      • Exceptions
      • Security
    • Popen Objects
    • Replacing Older Functions with the subprocess Module
      • Replacing /bin/sh shell backquote
      • Replacing shell pipeline
      • Replacing os.system()
      • Replacing the os.spawn family
      • Replacing os.popen
  • socket — Low-level networking interface
    • Socket Objects
    • Example
  • ssl — SSL wrapper for socket objects
    • Functions, Constants, and Exceptions
    • SSLSocket Objects
    • Certificates
    • Examples
      • Testing for SSL support
      • Client-side operation
      • Server-side operation
  • signal — Set handlers for asynchronous events
    • Example
  • asyncore — Asynchronous socket handler
    • asyncore Example basic HTTP client
  • asynchat — Asynchronous socket command/response handler
    • asynchat - Auxiliary Classes and Functions
    • asynchat Example

上個主題

rlcompleter — Completion function for GNU readline

下個主題

subprocess — Subprocess management

本頁

  • 顯示原始碼

快速搜尋

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • Python 3.0.1 說明文件 »
  • 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.