Python noob here, ive started a tkinter tutorial and no matter what method I use to change the background color it stays black. Im using vs code on mac and I made sure everything is updated. Ive also tried it in pycharm and the same problem occurs. Im not getting any errors in the terminal. Here is what I have,
from tkinter import *
window = Tk()
window.geometry("500x500")
window.title("Weather.py")
window.config(bg="blue")
window.mainloop()
Any ideas?
Update: Tried it on another mac in the house and is seemed to work on that one. Not sure why it wont work on mine.
CodePudding user response:
Link provided by @Rory did the trick... Along with several restarts of both the computer and vs code.