If I use ctypes
to show message box in python console (without Tkinter), I'm not able to show two boxes at a time. I've to close the first box, then only second box will appear.
What change should I made here? or is there any other library to serve this purpose?
def display_box(text):
return ctypes.windll.user32.MessageBoxW(0, text, "title", 0)
display_box("first box")
display_box("second box")