fsleyes_widgets.utils.webpage
¶
This module provides convenience functions for opening a URL in a web browser.
The following functions are provided:
Converts a file path to a URL. |
|
Opens the given URL in the system-default web browser. |
|
Opens the given file in the system-default web browser. |
-
fsleyes_widgets.utils.webpage.
fileToUrl
(fileName)¶ Converts a file path to a URL.
-
fsleyes_widgets.utils.webpage.
openPage
(url)¶ Opens the given URL in the system-default web browser.
-
fsleyes_widgets.utils.webpage.
openFile
(fileName)¶ Opens the given file in the system-default web browser.