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

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Steven
D'Aprano
Sent: 17 November 2011 19:52
To: [email protected]
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.


-- 
Steven

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to