6 lines
187 B
Python
6 lines
187 B
Python
import tkinter as tk
|
|
root = tk.Tk()
|
|
root.geometry("600x300")
|
|
root.title("标题")
|
|
tk.Label(root, text="中华人民共和国万岁", font=("微软雅黑", 25)).pack()
|
|
root.mainloop() |