From 466c85355b49b2363b7ea6bc4871bcd0e01d7447 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 19 七月 2023 18:09:15 +0800 Subject: [PATCH] HOST修改 --- test.py | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/test.py b/test.py index 55a51be..c85c56b 100644 --- a/test.py +++ b/test.py @@ -1,9 +1,10 @@ +import datetime +import json import sys from PyQt5 import QtWidgets from PyQt5.QtCore import QUrl from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEngineSettings - class MainWindow(QtWidgets.QMainWindow): @@ -22,6 +23,12 @@ if __name__ == "__main__": - app = QtWidgets.QApplication(sys.argv) - browser = MainWindow() - sys.exit(app.exec()) + # app = QtWidgets.QApplication(sys.argv) + # browser = MainWindow() + # sys.exit(app.exec()) + # test ="" + # print(test) + n = datetime.datetime.now() + data = {"t": n.microsecond} + print(json.dumps(data)) + -- Gitblit v1.8.0