I am trying to make a gui for a basic dbms project and while tkinter seems pretty easy for the most part i am unable to get how to use Entry to actually take the input and store it to use later (like an if condition or something) eg:
root = Tk()
label = Label(root,text="Testing")
label.grid(row=0)
entry = Entry(root)
entry.grid(row=0,column=1)
Now what i want to do is use the value/word i just wrote in the entry field to say just print it out on for example the console.
I thought we could just write
print(entry)
but that justs prints some random decimal on the console, ideally id like to store the value in some variable (if its not possible to use just "entry") so i can also use it in if conditions etc
I am using python 3