[Tutor] python telnet

Rayon evosweet at hotmail.com
Sat Nov 19 01:37:22 CET 2011

Thank you I think I understand now, thank you very much.

-----Original Message-----
From: tutor-bounces+evosweet=hotmail.com at python.org
[mailto:tutor-bounces+evosweet=hotmail.com at python.org] On Behalf Of Steven
Sent: 17 November 2011 19:52
To: tutor at python.org
Subject: Re: [Tutor] python telnet

Rayon wrote:

> I am trying to use winpexpect  to connect  a telnet session. 
> I keep getting this  error. 
> raise ExceptionPexpect, 'Command not found: %s' % self.command
> ExceptionPexpect: Command not found: telnet

Please copy and paste the entire traceback, not just the last couple of
lines. But judging by just the small bit you show, it looks like "telnet" is
not a command that winpexpect understands, so it raises an error "command
not found".

Perhaps it is a bug in winpexpect. Are you using the latest version?

Do you actually have telnet available on your system? If not, then you can't
expect winpexpect to use something which isn't there.


Tutor maillist  -  Tutor at python.org
To unsubscribe or change subscription options:

More information about the Tutor mailing list