[Tutor] Need help with telnet

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Wed Aug 11 20:04:30 CEST 2004



On Wed, 11 Aug 2004, Ali Polatel wrote:

> Can someone write me a simple script so that I can understand how to
> write telnet scripts with python?

Hi Ali,


The Standard Library comes with a fairly nice telnetlib Have you looked at
the 'telnetlib' documentation?  Here's a link to it:

    http://python.org/doc/lib/module-telnetlib.html

The documentation there comes with a simple example that should help show
how to use it:

    http://python.org/doc/lib/telnet-example.html


If you have more questions, please feel free to ask on Tutor.



More information about the Tutor mailing list