Skip to content

Tag: tkinter

How can I make program a bit cleaner?

I have this pretty ugly program (really cluttered) is there any way I could make it cleaner, less cluttered, etc. Thanks! P.S. (If you want to try to run this program prepare to be amazed.) Answer First of all, nice work with the drawing! Here is my suggestion: Things for you to try next: Making the elements …

tkinter: immediately selecting newly opened window

The code is simple. In tkinter I create a button which opens a new window. The difference in the pictures below might be hard to see but if you look closely you can see that in the first picture the root window is selected even though it’s behind the new opened window. In my actual program I use keybind…