How do I get the Entry’s value in tkinter?
Your first problem is that the call to get in entry = E1.get() happens even before your program starts, so clearly entry will point to some empty string. Your eventual second problem is that the text would anyhow be printed only after the mainloop finishes, i.e. you close the tkinter application. If you want to … Read more