Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python how to access clipboard

import clipboard
clipboard.copy("abc")  # now the clipboard content will be string "abc"
text = clipboard.paste()  # text will have the content of clipboard
Source by pypi.org #
 
PREVIOUS NEXT
Tagged: #python #access #clipboard
ADD COMMENT
Topic
Name
8+8 =