I was trying to get all elements listed in the list box. But it is dropping error messages. What I tried was:
def getValues():
values = lb.get()
return values
CodePudding user response:
It worked, thanks @Delrius Euphoria. That was assigning the first and last elements. The first was 0 and the last was the end of the list(END),
def getValues():
values = lb.get(0, END)
return values