File: pygadgets-products/unzipped/_PyCalc/Calculator/_PriorCodePP4E/calc0ext.py
from tkinter import * from calc0 import CalcGui class Inner(CalcGui): # extend GUI def __init__(self): CalcGui.__init__(self) Label(self, text='Calc Subclass').pack() # add after Button(self, text='Quit', command=self.quit).pack() # top implied Inner().mainloop()