change background python tkinter code example Example: set background colour tkinter window_name.configure(background='black')