Update boom.py/boom.py
This commit is contained in:
@@ -1,20 +1,21 @@
|
|||||||
import tkinter as tk
|
import tkinter as tk
|
||||||
class app:
|
class App:
|
||||||
def __init__(self, root):
|
def __init__(self, root):
|
||||||
self.root = root
|
self.root = root
|
||||||
root.title("oh hey your computer go boom now")
|
root.title("oh hey your computer go boom now")
|
||||||
root.geometry("900x700")
|
root.geometry("900x700")
|
||||||
root.minsize(650, 500)
|
root.minsize(650, 500)
|
||||||
|
|
||||||
def idk(self):
|
def idk(self):
|
||||||
while True:
|
while True:
|
||||||
win = self.root
|
win = self.root
|
||||||
win.title("Fatal Error: fu"); win.geometry("400x400")
|
win.title("Fatal Error: fu"); win.geometry("400x400")
|
||||||
tk.Label(win, text="Say bye to your computer",fg="red", font=("Courier", 24, "bold")).pack()
|
tk.Label(win, text="Say bye to your computer",fg="red", font=("Courier", 24, "bold")).pack()
|
||||||
def main():
|
def main():
|
||||||
root = tk.Tk()
|
root = tk.Tk()
|
||||||
app = app(root)
|
app = app(root)
|
||||||
root.mainloop()
|
app.idk()
|
||||||
|
root.mainloop()
|
||||||
if __name__ == "__main__":
|
|
||||||
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
Reference in New Issue
Block a user