print(str(frame.toHtml()).encode('utf-8'))
if __name__ == '__main__':
    app = QApplication(sys.argv)
view = Browser()
view.load(QUrl('http://www.google.com'))
app.exec_()
How to display html using QWebView. Python?