can't able to change the tkinter optionmenu widget in python 2.7.13 version, it seems it works well in python 3.5 but not in python 2.7.13. Someone please help me. thanks in advance...
from Tkinter import *
master = Tk()
variable = StringVar(master)
variable.set("one") # default value
w = OptionMenu(master, variable, "one", "two", "three")
w["menu"].config(bg="GREEN",fg="red")
w.pack()
mainloop()