comment copier automatiquement une sortie dans le presse-papiers en python

import pyperclip
pyperclip.copy('The text to be copied to the clipboard.')
Dabuilda