def __init__(self):
self.root = Tk()
self.title = Frame(self.root, width = 500, height = 35)
self.title.pack(side = TOP, expand = True)
self.frame = Frame(self.root, width = 574, height = 574)
self.frame.grid(columnspan = 30, rowspan = 31)
self.label = Label(self.title, width = 300, height = 30)
self.label.pack()
self.root.mainloop()
I want to be able to have a label on top of the grid but when I run the mainloop i get the error: "cannot use geometry manager grid inside .55652592 which already has slaves managed by pack." Thank you.