Obtain data from clipboard using python

Category: python web pyperclip (4 Views)

I am looking forward to copy data from a website to clipboard and pasting it into the Google sheet using python. Is there anyway to do that? I am not using web scraping since the website does not allow scraping, but it does allow to copy data to clipboard.

🔴 No definitive solution yet

📌 Solution 1

from pyperclip import paste
    
s = paste()
print(s)