I've been working with radio buttons and I've been having some trouble. The basic problem is that even though I can create the radio buttons (and I can select which one I want) that they don't do anything- nothing is printed or tells me what the "user" selected.
Here's the code I'm working on:
from Tkinter import *
root = Tk()
output = file('robot_info.txt', 'a')
COLOR = [("Blue", "Blue"), ("Red", "Red"), ("White", "White")]
for text, type1 in COLOR:
b = Radiobutton(root, text = text, variable = v, value = type1, indicatoron=1, command=check)
b.pack(anchor = W)
#End of program
Thanks for all your help!