你知道的越多,不知道的越多! python的GUI库非常丰富,粗暴的了解一下! Hello World 1.Kivy 2.PyQt5 3.wxPython 4.PySimpleGUI 使用前请先安装对应的GUI模块: pip install xxx 1.Kivy from typing import Text from kivy.app import App from kivy.uix.button import Button class TestApp(App): def build(self): return Button(text="Hello World!") TestApp().run() 2.PyQt5