Aug-04-2020, 10:12 PM
I am making a GUI in Python 2.7 and I am using Tkinter. Right now what this simple dialog box is doing is it is taking the answer that we are typing except for '', i.e if I erase with my keyboard delete key whatever I entered into the dialog box and click close and reopen that dialog box it still remembers the text I deleted. I want it to enter '' so basically nothing after I delete everything.
answer = tkSimpleDialog.askstring("Input", "Enter the value:", parent = top, initialvalue=Address[n])