I would like to use the value entered in widget to define the parameter x, but it seems not working. I saw the question :Tkinter entry widget float but the answer seems not clear enough for me here is my code
from Tkinter import *
master = Tk()
Label(master, text="real value 1").grid(row=0)
Label(master, text="real value 2").grid(row=1)
e1=IntVar()
e2=IntVar()
e1 = Entry(master)
e2 = Entry(master)
e1.grid(row=0, column=1)
e2.grid(row=1, column=1)
mainloop( )
x=int(e1.get())
i get the error
invalid command name ".190173576L"