[p2p-hackers] Python network library

Daniel Stutzbach agthorr at cs.uoregon.edu
Mon Jan 30 17:46:11 UTC 2006


On Mon, Jan 30, 2006 at 05:06:01PM +0100, Antoine Pitrou wrote:
> Twisted is almost the de facto standard library for non-trivial network
> applications with Python.
> Of course some people prefer writing their own (this is what Bittorrent
> does, although ironically it has taken a bit of code from Twisted
> AFAIK), but if you are looking for something widely supported then
> Twisted is the best bet.

When Bram Cohen started working on BitTorrent, Twisted wasn't around
(or hadn't released version 1.0 yet, at any rate).

> You'll probably find that Twisted makes your programming much easier
> than having to deal with all the low-level stuff yourself.

Twisted is the modern luxury car of network programing, making
Berkeley sockets look like a Model-T. :-)

-- 
Daniel Stutzbach                           Computer Science Ph.D Student
http://www.barsoom.org/~agthorr                     University of Oregon



More information about the P2p-hackers mailing list