I have added a message box in my code and I want to call a function defined earlier when clicking the 'OK' button in the message box. Is there any way to achieve this? Thanks in advance. messagebox.showinfo('Correct', 'Correct!\nClick OK to continue') Continue reading...