python gui input text code example Example: read value from entry tkinter #ent is the name of the Entry s = ent.get()