copy image to clipboard python code example
Example 1: copy to clipboard python
import pyperclip
pyperclip.copy('The text to be copied to the clipboard.')
Example 2: python clipboard to image
from PIL import ImageGrab
image = ImageGrab.grabclipboard()
image.save('clipboard.jpg','JPG')