I can't figure out how to make a web browser in python3 without
as i don't want to pay a lot for it to use commercially i have his pyqt code that i want to be made not with pyqt but can't figure out perfunctorily with a option to disable cors policy.
#!/usr/bin/env python
import sys
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
from PyQt5.QtWebKit import *
from PyQt5.QtWebKitWidgets import *
from PyQt5.QtWidgets import QApplication, QWidget, QMainWindow
app = QApplication(sys.argv)
web = QWebView()
web.load(QUrl("https://google.com"))
web.show()
sys.exit(app.exec_())
Aucun commentaire:
Enregistrer un commentaire