6. High-Level Networking in Python

The Python standard library has excellent support for networking all the way from low to high level. Low-level support is provided by modules such as socket, ssl, asyncore, and asynchat, and mid-level support by, for example, the socketserver module. Higher-level support is provided by the many modules that support various Internet protocols, including, most notably, the http and urllib modules.

There are also a number of third-party modules that support networking, ...

Get Python in Practice: Create Better Programs Using Concurrency, Libraries, and Patterns now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.