It is often useful to map out what the GUI is going to look like before starting on it so that all the frames can be nested appropriately. A sketch should be made for ...
We are reusing much of the same code from example2.py. We are just going to use a different method of arranging the window than using .pack(). label2 = tk.Label(window, image=dogphoto, borderwidth=3, ...