需要插件
pip install pyinstaller
pip install PyQtWebEngine
pip install PyQt5代码
import sys
from PyQt5.QtCore import *
from PyQt5.QtWidgets import *
from PyQt5.QtGui import *
from PyQt5.QtWebEngineWidgets import *
class MainWindow(QMainWindow):
def __init__(self):
super(MainWindow, self).__init__()
self.setWindowTitle('哀.net')
self.setWindowIcon(QIcon('favicon.ico'))
# 设置窗口大小900*600
self.setMinimumSize(1366, 768)
self.setMaximumSize(1920, 1080)
self.show()
self.browser = QWebEngineView()
# 加载外部Web页面
self.browser.load(QUrl('https://x.com'))
self.setCentralWidget(self.browser)
if __name__ == '__main__':
app = QApplication(sys.argv)
win = MainWindow()
win.show()
sys.exit(app.exec_())
打包
pyinstaller -F -w --icon="favicon.ico" x.py
访客
[b]Visualize[/b] coming home to find water seeping into the corners of your home and cherished spaces.
[b]It’s frightening[/b] — but you don’t have to face it alone.
[b]We’re here to protect[/b] your family’s home and peace, working swiftly and safely to contain the problem at once. Our team works with care and safety, helping recover your space and your comfort.
[b]We help you[/b] stop mold and long-term consequences, keeping your family’s environment safe. And with our 24/7 support, you’re never without help when it matters most — we’re always ready to step in!
[b][u]Call - 8338561951 and professionals will help you![/u][/b]
访客
建议增加田野调查素材,提升真实性。
访客
字里行间流露出真挚的情感,让人感同身受,共鸣不已。
访客
Finest news for all us
访客
.
访客
.
访客
Σ(っ °Д °;)っ