SyntaxFix
Write A Post
Hire A Developer
Questions
The code you presented is fine! You just need to explicitly create the "other window in the background" and hide it, with this code:
import Tkinter window = Tkinter.Tk() window.wm_withdraw()
Right before your messagebox.