[Tutor] Asynch i/o in Python ?

Rahul Kumar rahulk at bhartitelesoft.com
Sun Sep 28 02:52:24 EDT 2003


Thanks. i shall check out twisted.
Actually, asyncore uses select() which is *not* really asynch. I was
hoping that there is a module that wraps around "aio".

thanks
rahul

On Sat, Sep 27, 2003 at 07:35:38PM -0700, Danny Yoo wrote:
> Date: Sat, 27 Sep 2003 19:35:38 -0700 (PDT)
> From: Danny Yoo <dyoo at hkn.eecs.berkeley.edu>
> To: Rahul Kumar <rahulk at bhartitelesoft.com>
> cc: tutor at python.org
> Subject: Re: [Tutor] Asynch i/o in Python ?
> 
> 
> 
> On Sat, 27 Sep 2003, Rahul Kumar wrote:
> 
> > Does Python support aio (asynch io). I dont mean just the non-blocking
> > select().
> 
> Hi Rahul,
> 
> 
> The language itself doesn't specify blocking/nonblocking IO features, but
> there are several libraries that do.  For example, there's a library
> module called asyncore:
> 
>     http://www.python.org/doc/lib/module-asyncore.html
>     http://www.python.org/doc/lib/module-asynchat.html
> 
> that provides core support for asynchronous IO.
> 
> 
> Not only is there good support from the Standard Library, but there are
> also some nice third-party modules.  In particular, there's a
> comprehensive package called "Twisted Python":
> 
>     http://www.twistedmatrix.com/products/twisted
> 



More information about the Tutor mailing list