import tkinter
chuangkou = tkinter.Tk()
chuangkou.geometry("1600x800")
chuangkou.title("maliao")
def xiaochu():
b["text"] = "over"
b = tkinter.Label(
chuangkou,
text="你的电脑中病毒了",
bg="#000000",
fg="#54FF9F",
width = 1000,
height = 15,
font = (None,30)
)
b.pack()
btn = tkinter.Button(
chuangkou,
text = "xiaochu",
bg = "#6495ED",
fg = "#FA8072",
font = (None,30),
width = 20,
height = 5,
command = xiaochu
)
btn.pack()
chuangkou.mainloop()
xinixn - 电脑bug
最新推荐文章于 2020-05-04 19:47:34 发布