cópia para a área de transferência Python
import pyperclip
pyperclip.copy('The text to be copied to the clipboard.')
Dabuilda
import pyperclip
pyperclip.copy('The text to be copied to the clipboard.')
>>> import pyperclip
>>> pyperclip.copy('The text to be copied to the clipboard.')
>>> pyperclip.paste()
'The text to be copied to the clipboard.'
>>> import pyperclip
>>>
>>> pyperclip.copy('This is copied to the clipboard.')
>>>
>>> pyperclip.paste()
'This is copied to the clipboard.'
>>>