This document is for an old version of Python that is no longer supported.
You should upgrade and read the
Python documentation for the current stable release.
17. 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 use to communicate across machines.
The list of modules described in this chapter is:
- 17.1.
subprocess
— Subprocess management - 17.2.
socket
— Low-level networking interface - 17.3.
ssl
— TLS/SSL wrapper for socket objects - 17.4.
signal
— Set handlers for asynchronous events - 17.5.
popen2
— Subprocesses with accessible I/O streams - 17.6.
asyncore
— Asynchronous socket handler - 17.7.
asynchat
— Asynchronous socket command/response handler