[Tutor] Telnet using Python!!

Emile van Sebille emile at fenx.com
Sat Aug 15 19:19:14 CEST 2009


On 8/15/2009 8:07 AM Mohannad Mohammad said...
> 
> Hello everybody,
> 
> I want to connect from my Windows server to Unix server using Telnet by 
> Python code. To run some commands and save the result in a text file.
> I read *telnetlib* documentation and read many examples, but I did not 
> understand!!
> 


Have you worked through the example from the documentation at the bottom 
here:

http://docs.python.org/library/telnetlib.html

And there's more here: http://code.activestate.com/recipes/52228/

Post examples of the specific code and errors that are giving you trouble.


Emile



More information about the Tutor mailing list