I’ve written a couple of packages that might help. The first is pymsgbox, which adds an alert() and prompt() function (like in JavaScript) for pop up dialog boxes. This is nice if you need a basic GUI for a program. PyMsgBox · PyPI
Second, I just finished a presentable version of ButtonPad, a GUI framework (built on top of tkinter) for making simple desktop apps. Basically, if you need a Python app that has buttons and text boxes and not much more: ButtonPad · PyPI
I used it to write what I think you want (you need to use pip to install buttonpad first):
Tkinter has a thing called ‘widgets’ - which includes text boxes, buttons, and a lot more.
This sample code has a button and input boxes . . .
from tkinter import *
TJwin = Tk()
TJwin.title("Welcome to the Dog House !") # create and title window
TJwin.geometry('500x350')
dalbl = Label(TJwin, text="Hello") # make a text label
dalbl.grid(column=0, row=0) # place it top left.
datxt = Entry(TJwin,width=10) # Make a text entry box
datxt.grid(column=1, row=1)
def clicked(): # What to do if button clicked
res = "Welcome to " + datxt.get()
dalbl.configure(text= res)
dabtn = Button(TJwin, text="Click Me", command=clicked) # Button
dabtn.grid(column=2, row=3)
TJwin.mainloop()
This simple little program shows how Tkinter can make a label, an entry box, and a button. Note that the function for what the button does must come before the creation of the button. And, datxt.get() is the function that fetches the contents of the text box.