[Twisted-Python] newbie: asynchronous client
Andrew Bennetts
andrew-twisted at puzzling.org
Mon Feb 17 21:31:12 MST 2003
On Tue, Feb 18, 2003 at 02:37:40PM +1100, screwtape at froup.com wrote:
> On Tue, Feb 18, 2003 at 01:24:10PM +1100, Andrew Bennetts wrote:
> >
> > Or just add a telnet server (is "telnet manhole" a better term?)... :)
>
> Advantages of the telnet manhole:
> - A Python prompt, so you can manipulate all the objects you have
> available as much as you'd like.
>
> Disadvantages of the telnet manhole:
> - No history.
> - No completion.
> - No help.
What do you mean by help?
> - You have to telnet to a particular port to access it (you can only
> run one instance per host, and it makes it difficult to use a
> user-interactive program.
There will be an ssh variant soon, I'm told.
And from glancing at the code, it wouldn't be hard for it to have a seperate
namespace for each connection, if you wanted that.
> That said, there's probably something nifty that can be done with
> curses. I've never done any curses programming, though, and usually
> if I'm just whipping together a script, an eval-print loop is all the
> interface I need.
Depends on what you need, I guess. As with everything :)
-Andrew.
More information about the Twisted-Python
mailing list