code: def send_KeyEvent(self, key, down):
          
          self.sendMessage(struct.pack('!BBxxI', 4, down, key))
docs: For most ordinary keys, the "keysym" is the same as the
          corresponding ASCII value.  Other common keys are shown in the
          KEY_ constants.