i have a class here and using some functions, i have an other function, i want to execute that when one of the other does his job:
class Bio:
...
def re_enter():
print('hi')
def enter(self):
''' User has done all steps and continue'''
button = tkinter.Button(self.frame,text='Enter',command= re_enter)
button.grid(row=3,column=0,sticky='news', padx=20,pady=10)
but i get a NameError, says re_enter is not defined.