More on Python TKinter Dynamic OptionMenu
问题 I'm trying to modify the code here to have the user confirm the items selected from the optionmenus . If the user clicks on the Submit button, a message box should open prompting confirmation. Finally, I want the selected items to be returned to the program as variables so they can be used in other functions for further processing. However, my modification is not working; it just returns an empty window. Thoughts on what I am missing? Many thanks. from tkinter import * import tkinter