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