[Twisted-Python] Interactive Twisted client (newbie question?)

Anthony Baxter anthony at interlink.com.au
Thu Jan 6 06:38:14 EST 2005

On Thursday 06 January 2005 11:35, Andrew Bennetts wrote:
> On Wed, Jan 05, 2005 at 01:48:37PM -0500, Abe Fettig wrote:
> [...]
> > As JP mentioned, you can also use twisted.internet.stdio to provide a
> > command line interface to your running Twisted application.  I'm
> > attaching a simple app that illustrates the point.  Here's an example
> > session:
> Nice example of stdio, LineReceived, and using deferreds!  Abe, can we
> include this example in Twisted?

It's very similar the the standard Python 'cmd' module - it might be worth
mentioning this as part of the example.

Anthony Baxter     <anthony at interlink.com.au>
It's never too late to have a happy childhood.

More information about the Twisted-Python mailing list