1from tkinter import Tk, Button, Frame, Entry, END
2
3class ABC(Frame):
4 def __init__(self,parent=None):
5 Frame.__init__(self,parent)
6 self.parent = parent
7 self.pack()
8 ABC.make_widgets(self)
9
10 def make_widgets(self):
11 self.root = Tk()
12 self.root.title("Simple Prog")