How nested tkinter command functions work?
问题 Code example is from this answer. When click a Button with a command function (and this command function itself will call another menu command function), like the code example, what would happen? When clicking Refresh menu why has lambda command show() not been activated? For clarity, I made some changes about the original code as below: comment out Button().invoke add some print() information and change/add some counting variables # Using lambda keyword and refresh function to create a