[Tutor] python telnet
Rayon
evosweet at hotmail.com
Thu Nov 17 19:32:34 CET 2011
From: Rayon [mailto:rayon at gtt.co.gy]
Sent: 17 November 2011 14:04
To: 'tutor at python.org'
Subject: python telnet
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
###########code###############
from winpexpect import winspawn
child = winspawn('telnet 192.168.0.55:210')
help me plz
Regards Rayon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111117/7583f379/attachment-0001.html>
More information about the Tutor
mailing list