Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import timeit
- from Tkinter import Tk
- root=Tk()
- root.overrideredirect(True)
- root.geometry("{0}x{1}+0+0".format(root.winfo_screenwidth(),root.winfo_screenheight()))
- def conf():
- root.configure(background='red')
- print(timeit.Timer(stmt=conf).timeit(1))
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement