Telnetlib question
Jeff Bauer
jbauer at rubic.com
Thu Feb 6 09:26:14 EST 2003
I've posted a cookbook recipe which demonstrates using
telnetlib. Maybe it will help you.
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52228
These days I would probably use pyexpect instead.
Jeff Bauer
Rubicon Research
> I'm attempting to set up a telnet interface of sorts using python, but
> I'm at a loss as to how to do what I need, which is to echo any
> incoming event (from the "server" to the telnet client) back into a
> wxTextCtrl. I should be a little more specific, I'm having trouble
> catching incoming events. All of the read_* commands seem to work on
> events already captured or only read after the connection is closed.
> If it's of any help, I can post the code I've got so far (it's on my
> dev PC at home, currently on my laptop at work).
More information about the Python-list
mailing list