Sep-16-2020, 05:28 AM
By moving
It is far easier to use classes with tkinter (no time right now to show an example)
option
into the function myoptions
it becomes a local variable that is not accessible to the function user_choice
.It is far easier to use classes with tkinter (no time right now to show an example)