from tkinter import *
def nueva_ventana(): ven = Toplevel(raíz)
var2 = IntVar()
var2.set(1)
Label(ven, text = "Opciones").grid(row=0, sticky=W)
Radiobutton(ven, text = "Opcion1", variable=var2, value = 1).grid(row=1, sticky=W)
Radiobutton(ven, text = "Opcion2", variable=var2, value = 2).grid(row=2, sticky=W)
raíz = Tk()
var = IntVar() var.set(1)
Label(raíz, text = "Opciones").grid(row=0, sticky=W) Radiobutton(raíz, text = "Opcion1", variable=var, value = 1).grid(row=1, sticky=W) Radiobutton(raíz, text = "Opcion2", variable=var, value = 2).grid(row=2, sticky=W) Button(raíz, text = "OK", command=nueva_ventana).grid(row=4, sticky=W)
raíz.mainloop()