Set the option variable to the button’s value, select the button, invoke the command associated with the button, and return its result.
tkinter.ttk/Radiobutton.invoke
Radiobutton.invoke