Форум сайта python.su
Python 3.8.1, PyQt5, Windows.
from PyQt5.QtWidgets import QApplication, QMainWindow, QVBoxLayout, QWidget from PyQt5.QtWebEngineWidgets import QWebEngineView
html = open('index.html', 'r').read() self.browser = QWebEngineView()
self.browser.page().runJavaScript("subscribe()", self.ready)
messaging.requestPermission() .then(function () { .... }
Отредактировано J@ME (Фев. 12, 2020 12:26:04)
Офлайн