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:
subprocess
--- Subprocess management- Using the
subprocess
Module - Popen Objects
- Windows Popen Helpers
- Replacing Older Functions with the
subprocess
Module - Notes
- Using the
socket
--- Low-level networking interfacessl
--- TLS/SSL wrapper for socket objects- Functions, Constants, and Exceptions
- SSL Sockets
- SSL Contexts
- Certificates
- Examples
- Notes on non-blocking sockets
- Security considerations
signal
--- Set handlers for asynchronous eventspopen2
--- Subprocesses with accessible I/O streamsasyncore
--- Asynchronous socket handlerasynchat
--- Asynchronous socket command/response handler