Advertisement
Guest User

Untitled

a guest
Nov 19th, 2012
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. import timeit
  2. from Tkinter import Tk
  3.  
  4. root=Tk()
  5. root.overrideredirect(True)
  6. root.geometry("{0}x{1}+0+0".format(root.winfo_screenwidth(),root.winfo_screenheight()))
  7. def conf():
  8.   root.configure(background='red')
  9. print(timeit.Timer(stmt=conf).timeit(1))
  10. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement