Showing posts with label Clipbaord. Show all posts
Showing posts with label Clipbaord. Show all posts

Thursday, May 5, 2016

Python access Clipbaord

First of all you need to install the clipboard package.
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")