[Twisted-web] Using Twisted to process a pool of messages

Jacek Furmankiewicz jacek99 at gmail.com
Sun Oct 16 11:28:46 EDT 2011

I really recommend this tutorial:

Direct PDF link:

It really helped me understand Twisted, coming from a synchronous Java

Once you get to the @defer.inlineCallbacks chapter, things will become much
more clear.
Twisted inline callbacks allows you to write async code with the clarity of
sync code.

As Phil mentioned, Deferred is the work horse of Twisted and crucial to
using it effectively.


On Sun, Oct 16, 2011 at 11:11 AM, Phil Mayers <p.mayers at imperial.ac.uk>wrote:

> On 10/16/2011 04:08 PM, Phil Mayers wrote:
> > d = self.client.getPage(url)
> Drat. That should be:
>   d = client.getPage(url)
> i.e. you're calling twisted.web.client.getPage
> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20111016/202e2332/attachment.htm 

More information about the Twisted-web mailing list