Development/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 29 June 2011, at 21:50. This page has been accessed 470 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal