Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from tkinter import *
- import time
- window = Tk()
- running = True
- def infinityloop():
- x = 0
- y = []
- x += 0
- c = Toplevel()
- c.config(bg='yellow')
- c.geometry('1920x1080')
- Label(c,text="Process finished with exit code 0",bg='yellow',
- font=('consolas',70)).place(x=80,y=100)
- if x%1 == 0:
- time.sleep(0)
- y.append(c)
- window.update()
- if c.quit():
- c.quit()
- running = False
- if window:
- while running:
- infinityloop()
- mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement