hscommon.desktop

hscommon.desktop.open_path(path)

Open path with its associated application.

hscommon.desktop.open_url(url)

Open url with the default browser.

hscommon.desktop.reveal_path(path)

Open the folder containing path with the default file browser.

hscommon.desktop.special_folder_path(special_folder, appname=None)

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.