You can do this with pip.
->pip --install clipboard
I use it with python 3 but it will also work with version 2.
import clipboard #Import the package
To get datas from clipboard simply call:
clipboard.paste()
And to write them to the clipboard call:
clipboard.copy("Your Argument")
No comments:
Post a Comment