pyqt5 comment voir si le presse-papiers est vide
# the following prints if clipboard is empty
if QApplication.clipboard().text():
print("Clipboard is NOT empty")
else:
print("Clipboard is empty")
Evang