pyperclip example
Example 1: pyperclip
>>> import pyperclip
>>> pyperclip.copy('The text to be copied to the clipboard.')
>>> pyperclip.paste()
'The text to be copied to the clipboard.'
Example 2: pyperclip paste
>>> import pyperclip
>>>
>>> pyperclip.copy('This is copied to the clipboard.')
>>>
>>> pyperclip.paste()
'This is copied to the clipboard.'
>>>