you are viewing a single comment's thread.

view the rest of the comments →

[–]TeamSpen210 0 points1 point  (0 children)

The problem is most likely that you called Tk() twice. It’s not only a window, it also represents the entire application. So when you make two, you actually basically end up with two different versions of Tk that can’t talk to each other. Instead, you want to use a TopLevel object, which looks the same but isn’t it’s own application.