[Twisted-Python] Re: how to write an interactive client?

Duncan McGreggor duncan.mcgreggor at gmail.com
Tue May 31 01:23:04 MDT 2005


theshz <theshz <at> gmail.com> writes:

> 
> Hi, I've written a simple twisted server, which accepts client connections,
> and respond with some simple text depending on what the client sends. This
> is working fine if I use telnet to connect to the server, and enter the
> commands one at a time. I'd like to write a twisted client to simulate this,

Why do you want to simulate this?

You might be interested in the source code of imagination. There is some 
test/demo code in the repository you might find interesting.

I'm working on a project that borrows heavily from this code but has its 
own parser grammer writtn with pyparsing.





More information about the Twisted-Python mailing list