Python - Tkinter Label Output?
问题 How would I take my entries from Tkinter, concatenate them, and display them in the Label below (next to 'Input Excepted: ')? I have only been able to display them input in the python console running behind the GUI. Is there a way my InputExcept variable can be shown in the Label widget? from Tkinter import * master = Tk() master.geometry('200x90') master.title('Input Test') def UserName(): usrE1 = usrE.get() usrN2 = usrN.get() InputExcept = usrE1 + " " + usrN2 print InputExcept usrE = Entry