code: def press(keys, presses=1, interval=0.0, pause=None, _pause=True):
      
      if type(keys) == str:
          keys = [keys] # put string in a list
      else:
          lowerKeys = []
          for s in keys:
              if len(s) > 1:
                  lowerKeys.append(s.lower())
              else:
                  lowerKeys.append(s)
      interval = float(interval)
      for i in range(presses):
          for k in keys:
              _failSafeCheck()
              platformModule._keyDown(k)
              platformModule._keyUp(k)
          time.sleep(interval)
  
      _autoPause(pause, _pause)
docs: Performs a keyboard key press down, followed by a release.
  
      Args:
        key (str, list): The key to be pressed. The valid names are listed in
        KEYBOARD_KEYS. Can also be a list of such strings.
        presses (integer, optiional): the number of press repetition
        1 by default, for just one press
        interval (float, optional): How many seconds between each press.
        0.0 by default, for no pause between presses.
        pause (float, optional): How many seconds in the end of function process.
        None by default, for no pause in the end of function process.
      Returns:
        None