telnetlib

Gerhard Häring gerhard.haering at gmx.de
Fri Jan 10 12:06:32 EST 2003


Dickerson, Dee wrote:
> Below is telnet code that I am trying to get going.  I am going from
> a Windows2000 machine to a Redhat Linux machine; the ls command will
> not run as I can tell; it does not return any output.

The code looks reasonably to me.

To be able to debug this further, I'd recommend you use
set_debuglevel(1) on the telnet object.

[snip 216 lines of HTML]

and please don't post HTML.

Gerhard
-- 
Favourite database:             http://www.postgresql.org/
Favourite programming language: http://www.python.org/
Combine the two:                http://pypgsql.sf.net/
Embedded database for Python:   http://pysqlite.sf.net/




More information about the Python-list mailing list