📜  基本 tkinter 窗口 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:50.995000             🧑  作者: Mango

代码示例5
from tkinter import *

root = Tk()
root.title("Hello World")
message_label = Label(root, text="Hello World")
message_label.pack()

root.mainloop()