def __init__(self):
    super(MainWindow, self).__init__()
    self.setWindowTitle('加载外部网页的例子')
    self.setGeometry(5, 30, 1355, 730)
    self.browser = QWebEngineView()
    self.browser.load(QUrl('https://blog.csdn.net/jia666666'))
    self.setCentralWidget(self.browser)
def __init__(self):
    super(MainWindow, self).__init__()
    self.setWindowTitle('加载外部网页的例子')
    self.setGeometry(5, 30, 1355, 730)
    self.browser = QWebEngineView()
    self.browser.load(QUrl('https://blog.csdn.net/jia666666'))
    self.setCentralWidget(self.browser)