diff --git a/boom.py/boom.py b/boom.py/boom.py index 4c6e4dc..b0a679b 100644 --- a/boom.py/boom.py +++ b/boom.py/boom.py @@ -1,20 +1,21 @@ -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__": +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) + app.idk() + root.mainloop() + +if __name__ == "__main__": main() \ No newline at end of file