Is this what you are looking for? item = listview.firstChild () while item: if item.isSelected (): count = count + 1 item = item.nextSibling () --pete