Below is some sample code. The window does not resize (python3.2, on a Mac, from macports). Is there a way I can modify it so that it resizes the window? Thanks.
import tkinter
import time
root = tkinter.Tk()
can = tkinter.Canvas(root, width = 10, height = 10)
can.pack()
for i in range(10):
can.configure(width = i * 50, height = i * 50)
root.update()
print(i)
time.sleep(0.5)
Perhaps try this: