so you only need op. in a GUI window instead of console ? create a window ,add a label and button using tkinter(basic GUI programming).
basic tutorial for GUI prog.
l = Label(root, textvariable = var)
var will be from your backend code
2
solved How to put output of python code in the gui format? [closed]