# dupeGuru 4.3.1 documentation

## hscommon.desktop

class hscommon.desktop.SpecialFolder(value)

  An enumeration.

hscommon.desktop.open_path(path: PathLike) → None

  Open `path` with its associated application.

hscommon.desktop.open_url(url: str) → None

  Open `url` with the default browser.

hscommon.desktop.reveal_path(path: PathLike) → None

  Open the folder containing `path` with the default file browser.

hscommon.desktop.special_folder_path(special_folder: SpecialFolder, portable: bool = False) → str

  Returns the path of `special_folder`.

  `special_folder` is a SpecialFolder.* const. The result is the special folder for the current application. The running process’ application info is used to determine relevant information.

  You can override the application name with `appname`. This argument is ingored under Qt.