Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Im trying to change the title of my tk window but it doesn't change

from tkinter import*
root = Tk()

root['bg'] = 'dark blue'
root.title = ('Quiz')
root.mainloop()

I have tried to think of alot of solutions but they dont possibly work. Can someone help?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Use

root.title('Quiz')

instead of

root.title = ('Quiz')
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading