Simon Willison’s Weblog


Advanced Python network programming

18th February 2004

Understanding Network I/O, Part 2 by George Belotsky (via The Farm) is the best tutorial on the subject of network programming I’ve seen yet. It provides a detailed explanation of simple threaded network clients, thread pools using the Queue module and asynchronous I/O using both Twisted and Python’s asyncore library—then discusses the strengths and weaknesses of each approach.

I’ve also just noticed that O’Reilly provide RSS 1.0 and Atom feeds for each of their authors. Neat.

This is Advanced Python network programming by Simon Willison, posted on 18th February 2004.

Next: Catching up with Harry

Previous: End user license agreements hit a new low

Previously hosted at