tkinter
https://docs.python.org/3/library/tkinter.html
https://docs.python.org/zh-cn/3/library/tk.html
DOC
https://tkdocs.com/shipman/
常用控件
from tkinter import *from tkinter import ttkroot = Tk()frm = ttk.Frame(root, padding=10)frm.grid()ttk.Label(frm, text="Hello World!").grid(column=0, row=0)ttk.Button(frm, text="Quit", command=root.destroy).grid(column=1, row=0)root.mainloop()
