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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.