code: def press_key(self, character=''):
          
          try:
              shifted = self.is_char_shifted(character)
          except AttributeError:
              win32api.keybd_event(character, 0, 0, 0)
          else:
              if shifted:
                  win32api.keybd_event(self.shift_key, 0, 0, 0)
              char_vk = win32api.VkKeyScan(character)
              win32api.keybd_event(char_vk, 0, 0, 0)
docs: Press a given character key.