What is the keycode for control + z in python?
1 answer
Key code? If you are sending AT commands, you are probably sending lines with ascii text and control codes, right? Ctrl-Z is usually 26 (decimal). So chr (26) should work, or if it is part of a string, '\ x1a' as 26 decimal places is 1A hex.
However, Ctrl-Z is usually not part of the AT command set ... so if that doesn't help you, perhaps you could explain more what you are trying to do and why you need to send Ctrl -Z.
+6
source to share