import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtWebKit import *
app = QApplication(sys.argv)
web = QWebView()
web.load(QUrl('http://www.stackoverflow.com'))
web.show()
sys.exit(app.exec_())
How to make a simple cross-platform webbrowser with Python?