Command line:
python -m webbrowser -t "<URL>"
.py script:
|
|
The browser codes is among mozilla
firefox
(Mozilla Firefox) opera
(Opera) windows-default
(Windows default browser) macosx
(Mac OS default browser) safari
(Safari)google-chrome
chrome
(Chrome) chromium
chromium-browser
(Chromium and other browsers based on chromium)
References: