Python Telnet client

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Thu Aug 27 17:18:41 EDT 2009


On 09:06 pm, nbdarvin at gmail.com wrote:
>Is there telnet client in python?
>i want to write NetHack telnet GUI app)

The Python stdlib has a module named telnetlib which offers rudamentary 
telnet support.  Twisted includes twisted.conch.telnet which implements 
a much more complete telnet library.  Twisted also includes 
twisted.conch.insults which provides basic terminal control 
functionality (so you can tell what nethack is trying to do over your 
telnet connection).

Jean-Paul



More information about the Python-list mailing list