How do I change the background of a Frame in Tkinter?
The root of the problem is that you are unknowingly using the Frame class from the ttk package rather than from the tkinter package. The one from ttk does not support the background option. This is the main reason why you shouldn’t do wildcard imports — you can overwrite the definition of classes and commands. … Read more