Is it possible to send a F1 "character" over a telnet connection? I've searched but I can't find a solution. I've tried SendKeys<http://www.rutherfurd.net/python/sendkeys/>and other methods, but I can't get it to work.
import telnetlib pswd = "***" host = "***" tn = telnetlib.Telnet(host) tn.read_until("password:", 7) tn.write(pswd + "\n") tn.write(chr(27)) # ESC tn.write(chr(78)) # Shift N tn.write(chr(25)) # Down arrow
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor