Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyqt5 how to see if clipboard is empty

# the following prints if clipboard is empty
if QApplication.clipboard().text():
	print("Clipboard is NOT empty")
else:
	print("Clipboard is empty")
 
PREVIOUS NEXT
Tagged: #clipboard #empty
ADD COMMENT
Topic
Name
4+2 =