este es parte del codigo que intente hacer:
Código:
muchas gracias por su ayuda! def botonesd(): boton2 = Button(vp,text= "Eliminar Pedido",fg = "red",command = eliminar).place(x=1250, y=550) boton3 = Button(vp,text= "LOMO",fg = "black",command = lambda : delivery("LOMO"),font =("arial black",9),width=10,height=3).place(x=0,y=80) boton4 = Button(vp,text= "VEGETARIANO",fg = "black",command = lambda : delivery("VEGETARIANO"),font =("arial black",9),width=10,height=3).place(x=0,y=140) boton5 = Button(vp,text= "MEX",fg = "black",command = lambda : delivery("MEX"),font =("arial black",9),width=10,height=3).place(x=0,y=200) boton6 = Button(vp,text= "ESPECIAL",fg = "black",command = lambda : delivery("ESPECIAL"),font =("arial black",9),width=10,height=3).place(x=0,y=320) var = IntVar() c = Checkbutton(vp, text="Expand", variable=var,onvalue=1,offvalue=0) c.place(x=1260,y=10) varc = var.get() if varc == 0: print varc else: print varc botonesd()