xinixn - 电脑bug

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()
发布了414 篇原创文章 · 获赞 19 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/houlaos/article/details/104598613
bug
今日推荐