What do yo use the Entry for?
import sys if 3 == sys.version_info[0]: ## 3.X is default if dual system import tkinter as tk ## Python 3.x else: import Tkinter as tk ## Python 2.x def show_choice(): print(v.get()) ent.delete(0, "end") def selmunicipio(): top = tk.Toplevel() top.title("Selección de Municipio") v.set(1) ## for i in listamunicipios: for ctr in range(30): tk.Radiobutton(top,text=ctr+1,variable=v, command=show_choice, value=ctr+1).grid(row=ctr+1, column=0, sticky='w') tk.Radiobutton(top,text=ctr+31,variable=v, command=show_choice, value=ctr+31).grid(row=ctr+1, column=1, sticky='w') button = tk.Button(top, text="Elige y pulsa aquÃ", command=top.destroy) button.grid(row=100, column=0) root=tk.Tk() v=tk.IntVar() ent=tk.Entry(root, bg="lightblue") ent.grid(row=1) tk.Button(root, text="Quit", command=root.quit).grid(row=100) selmunicipio() root.mainloop()