Now that we have our main window, we’re going to divide the window in half. The left side will contain buttons for our various filters and to open files, and the right side will contain an editorWindow object that has some functions attached we can use.
Before we can add in buttons or frames, we want to create and pack in two frames into our program, using the following lines of code.
leftframe = Frame(window, bg="Black", width = 80
leftframe.pack(fill=Y, side=LEFT)
rightframe = Frame(window, bg="White")
rightframe.pack(fill=BOTH, expand=True, side=RIGHT)