Date: 06 Feb 2022

Module : pyperclip


Installation : pip install pyperclip


About:

Pyperclip is a cross-platform Python module for copy and paste clipboard
functions. If something outside your program changes the clipboard
contents, the paste() function will return it. For example, if this
sentence is copied to the clipboard and then paste() is called, the output
would be printed.


Source:

import pyperclip

pyperclip.copy("Hello world !")

pyperclip.paste()



Reference:

https://pypi.org/project/pyperclip/
_______________________________________________
Chennaipy mailing list
Chennaipy@python.org
https://mail.python.org/mailman/listinfo/chennaipy

Reply via email to