Python 3 - Getting amount of items in Listbox widget Python 3 - Getting amount of items in Listbox widget tkinter tkinter

Python 3 - Getting amount of items in Listbox widget


To get the number of items in a listbox, you can do:

listbox.size()