def _vk_from_char(self, key_char):
    try:
      return KeyConsts.key_mapping[key_char.lower()]

    except __HOLE__ as e:
      print(e)
      print('\n\nUsage Note: all keys are underscore delimited, '
            'e.g. "left_mouse_button", or "up_arrow."\n'
            'View KeyConsts class for list of key_names')
      sys.exit()
dataset/ETHPy150Open chriskiehl/pyrobot/pyrobot.py/Robot._vk_from_char