open another window in tkinter code example
Example: block window if another window is open tkinter
b.grab_set() # when you show the popup
# do stuff ...
b.grab_release() # to return to normal
b.grab_set() # when you show the popup
# do stuff ...
b.grab_release() # to return to normal