delete all qlistwidget code example Example: how to remove all items in a Qlistwidget in pyqt5 # use clear() function my_list_widget.clear()