How do I close the entire program once the user hits OK in the message box?
Here is the portion of the script that contains the button and command:
class Application(tk.Tk):
def create_options(self):
tk.Button(self,
text = "Begin search", command=self.pop_up1
).place(x=465, y=285)
def pop_up1(self):
"""shows submitted box"""
tkMessageBox.showinfo(title="Finished", message="Query Submitted")