Network communication is used to retrieve data needed for an algorithm running locally, share information for distributed processing, and manage cloud services. Python’s standard library comes complete with modules for creating network services, as well as for accessing existing services remotely.
socket library provides direct access to the native C socket library and can be used to communicate with any network service.
select watches multiple sockets simultaneously and is useful for allowing network servers to communicate with multiple clients simultaneously.
The frameworks in
SocketServer abstract out a lot of the repetitive work necessary to create a new network server. The classes can be combined to create ...