I have a textbox which is displayed in my window. I want to get the number from this textbox (inputted from the user) and use it for calculations
n=Text(window,width=6,height=2,bg="white").place(x=20,y=80)
num1=n.get(1.0,END)
CodePudding user response:
Try
num1=n.get("1.0","end")