Open default browser

Is there a way to open a desired webpage in the computer’s default browser via touch commands?

Hi.

Try:

viewFile(url_or_path)None :

View a url or file in the default external application.

  • url_or_path - url or path to launch.

a = ui.viewFile(‘output.txt’)

Thanks, Rob.
Totally worked!