How do I create a popup window in tkinter?

I found 3 mistakes use Toplevel() instead of Tk() to create second/third window command= expects callback – function name without ()(but you use popupBonusWindow.destroy()) don’t mix pack() and grid() in one window or frame(but you use grid() and pack() in popup) But you can also use built-in messageboxes like showinfo() BTW: I put it on page: Tkinter: How to create popup Window or Messagebox

How to install PyQt5 on Windows?

The easiest way to install PyQt is to just use the installer (Link in your answer, step #5). If you install python 3.3, the installer will add all of the PyQt5 extras to that python installation automatically. You won’t need to do any compiling (none of: nmake, nmake install, python configure). All of the build … Read more

Type error Unhashable type:set

The individual items that you put into a set can’t be mutable, because if they changed, the effective hash would change and thus the ability to check for inclusion would break down. Instead, you need to put immutable objects into a set – e.g. frozensets. If you change the return statement from your enum method to… …then it … Read more