1. # pip install pyperclip
    2. >>> import pyperclip
    3. >>> pyperclip.copy('The text to be copied to the clipboard.')
    4. >>> pyperclip.paste()
    5. 'The text to be copied to the clipboard.'