I tried to print the value of my entry widget by passing the result of controlvariable.get() in Tkinter to a function. However, I kept printing empty string (eventhough I've written something inside the entry widget). But if I first set the value of the entry widget using .set,...I can get the value just fine...Anybody knows why??