
Untitled
By: a guest on
Nov 19th, 2012 | syntax:
Python | size: 0.27 KB | hits: 29 | expires: Never
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()