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