how to make your python pop up in a box code example
Example: make a pop up window in python
from tkinter import *
def alert_popup(title, message, path):
"""Generate a pop-up window for special messages."""
root = Tk()
root.title(title)
w = 400
h = 200
sw = root.winfo_screenwidth()
sh = root.winfo_screenheight()
x = (sw - w)/2
y = (sh - h)/2
root.geometry('%dx%d+%d+%d' % (w, h, x, y))
m = message
m += '\n'
m += path
w = Label(root, text=m, width=120, height=10)
w.pack()
b = Button(root, text="OK", command=root.destroy, width=10)
b.pack()
mainloop()