If you ever want to know the type of ab object try:
>>> import tkinter as tk >>> type(tk.Frame) <class 'type'> >>>
class whadayacallit(tk.Frame)
inherits class tk method Frame