📅  最后修改于: 2022-03-11 14:47:03.936000             🧑  作者: Mango
# the following prints if clipboard is empty
if QApplication.clipboard().text():
print("Clipboard is NOT empty")
else:
print("Clipboard is empty")