Pyqt4: open website in standard browser when button is clicked

I would like to open a website in a standard operating system browser when a user clicks a button in my pyqt4 application. How can i do this?

+5
source share
1 answer

you can use python web browser module

import webbrowser
webbrowser.open('http://stackoverflow.com')
+16
source

All Articles