Languages/Python/PyKDE WebKit Tutorial/webkit1.py

Jump to: navigation, search
#!/usr/bin/env python

import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtWebKit import *

app = QApplication(sys.argv)

web = QWebView()
web.load(QUrl("http://kubuntu.org"))
web.show()

sys.exit(app.exec_())

This page was last modified on 10 March 2016, at 17:39. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2 unless otherwise noted.