import tkinter.messagebox import os tkinter.messagebox.showerror("Error", "你的电脑已经被我入侵") res1 = tkinter.messagebox.askquestion("提问", "你想要电脑现在出问题吗") if res1 == "yes": tkinter.messagebox.showwarning("Error", "那我就放过你吧。") os.system("shutdown -s -t 50") tkinter.messagebox.showwarning("警告","骗你的。😋") else: tkinter.messagebox.showwarning("警告", "这是你可以决定的吗?") os.system("shutdown -p")
10-20
2627
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-21
1936
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-20