from tkinter import *
root = Tk()
frame1 = Frame(root)
frame1.pack()
frame2 = Frame(frame1)
frame2.pack()
#obviously you can add in other parameters, but this is the basic syntax.
#instead of packing it into the root window, you pack it into the other frame.