If there were too many file names/objects listed in the list box and I tried to delete the entire contents of the list using the command ".delete(1.0, tk.END)", I received the following error message:
for i in range(index, int(last)+1):
TypeError: 'float' object cannot be interpreted as an integer
If there were too many file names/objects listed in the list box and I tried to delete the entire contents of the list using the command ".delete(1.0, tk.END)", I received the following error message:
and nothing was deleted.
If you have the problem, use the command:
".delete(0, self.file_listbox.size() - 1)"
or:
".delete("all")"