20 lines
573 B
Python
20 lines
573 B
Python
import tkinter as tk
|
|
class app:
|
|
def __init__(self, root):
|
|
self.root = root
|
|
root.title("oh hey your computer go boom now")
|
|
root.geometry("900x700")
|
|
root.minsize(650, 500)
|
|
|
|
def idk(self):
|
|
while True:
|
|
win = self.root
|
|
win.title("Fatal Error: fu"); win.geometry("400x400")
|
|
tk.Label(win, text="Say bye to your computer",fg="red", font=("Courier", 24, "bold")).pack()
|
|
def main():
|
|
root = tk.Tk()
|
|
app = app(root)
|
|
root.mainloop()
|
|
|
|
if __name__ == "__main__":
|
|
main() |