def __init__(self, parent):
    super().__init__()
    self['bd'] = 1
    self['relief'] = SOLID
    self['padx'] = 5
    self['pady'] = 5
    self.label_text1 = StringVar()
    self.label_text1.set('Digite seu nome')
    self.text_text1 = StringVar()
    self.label1 = Label(self, textvariable=self.label_text1).grid()
    text1 = Entry(self, textvariable=self.text_text1).grid(pady=2)
    btn1 = Button(self, text='Clique', command=self.executar).grid()
def __init__(self, parent):
    super().__init__()
    self['bd'] = 1
    self['relief'] = SOLID
    self['padx'] = 5
    self['pady'] = 5
    self.label_text1 = StringVar()
    self.label_text1.set('Digite seu nome')
    self.text_text1 = StringVar()
    self.label1 = Label(self, textvariable=self.label_text1).grid()
    text1 = Entry(self, textvariable=self.text_text1).grid(pady=2)
    btn1 = Button(self, text='Clique', command=self.executar).grid()