Languages/Python/PyKDE WebKit Tutorial/webkit1.py
#!/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 edited on 10 March 2016, at 17:39. Content is available under Creative Commons License SA 4.0 unless otherwise noted.