Answers for "pyqt5 how to see if clipboard is empty"

0

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")
Posted by: Guest on April-04-2020

Code answers related to "pyqt5 how to see if clipboard is empty"

Python Answers by Framework

Browse Popular Code Answers by Language