radio buttons are toggles toobut they are generally used in groupsjust like the mechanical station selector pushbuttons on radios of times gone bypressing one radio button widget in group automatically deselects the one pressed last in other wordsat mostonly one can be selected at one time in tkinterassociating all radio buttons in group with unique values and the same variable guarantees thatat mostonly one can ever be selected at given time like check buttons and normal buttonsradio buttons support command option for registering callback to handle presses immediately like check buttonsradio buttons also have variable attribute for associating single-selection buttons in group and fetching the current selection at arbitrary times in additionradio buttons have value attribute that lets you tell tkinter what value the button' associated variable should have when the button is selected because more than one radio button is associated with the same variableyou need to be explicit about each button' value (it' not just or toggle scenarioexample - demonstrates radio button basics example - pp \gui\tour\demoradio py "create group of radio buttons that launch dialog demosfrom tkinter import from dialogtable import demos from quitter import quitter get base widget set button callback handlers attach quit object to "meclass demo(frame)def __init__(selfparent=none**options)frame __init__(selfparent**optionsself pack(label(selftext="radio demos"pack(side=topself var stringvar(for key in demosradiobutton(selftext=keycommand=self onpressvariable=self varvalue=keypack(anchor=nwself var set(keyselect last to start button(selftext='state'command=self reportpack(fill=xquitter(selfpack(fill=xdef onpress(self)pick self var get(print('you pressed'pickprint('result:'demos[pick]()def report(self)print(self var get()if __name__ ='__main__'demo(mainloop( tkinter tourpart