[python-win32] How to send the Esc key via a telnetlib.Telnetsession?

Goldsmith, David dgol461 at ECY.WA.GOV
Tue Nov 30 02:07:34 CET 2010


Thanks for the prompt reply, and forgive my ignorance: how do I specify in a telnet transmission that 27 is to be interpreted as an ascii code?  Thanks!

 

From: Dahlstrom, Roger [mailto:RDahlstrom at directedge.com] 
Sent: Monday, November 29, 2010 4:30 PM
To: Goldsmith, David
Subject: Re: [python-win32] How to send the Esc key via a telnetlib.Telnetsession?

 

Ascii 27 iirc. 

 

________________________________

From: python-win32-bounces+rdahlstrom=directedge.com at python.org <python-win32-bounces+rdahlstrom=directedge.com at python.org> 
To: python-win32 at python.org <python-win32 at python.org> 
Sent: Mon Nov 29 19:25:41 2010
Subject: [python-win32] How to send the Esc key via a telnetlib.Telnet session? 

Newbie to this list; sorry if it’s the wrong one for this question.  I need to do the equivalent of:

 

telnetlib.Telnet.write(“Esc key”)

 

How does one do this?  Thanks!

 

-------------------------------------- 
David Goldsmith
Washington State Department of Ecology 
Environmental Assessment Program 
Modeling and Information Support Unit 
300 Desmond Drive  | P.O. Box 47600 
Lacey, WA  98503   | Olympia, WA  98504-7600 
Tel:     (360) 407-6194
Fax:     (360) 407-6884
Email:   david.goldsmith at ecy.wa.gov <mailto:david.goldsmith at ecy.wa.gov> 
Station: C2D-59
Web:     http://www.ecy.wa.gov/programs/eap/ <http://www.ecy.wa.gov/programs/eap/> 

 

 

________________________________

DISCLAIMER:
This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this in error, please immediately notify me and permanently delete the original and any copy of any e-mail and any printout thereof. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. Direct Edge may, at its discretion, monitor and review the content of all e-mail communications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20101129/97129900/attachment-0001.html>


More information about the python-win32 mailing list