code: def ui_open(*files):
    
    if files:
      osname = get_os_name()
      opener = _OPENER_BY_OS.get(osname)
      if opener:
        opener(files)
      else:
        raise OpenError('Open currently not supported for ' + osname)
docs: Attempts to open the given files using the preferred desktop viewer or editor.
  
    :raises :class:`OpenError`: if there is a problem opening any of the files.