Python: Copying text into Windows Clipboard

import win32clipboard
win32clipboard.OpenClipboard()
win32clipboard.EmptyClipboard()
win32clipboard.SetClipboardText(text)
win32clipboard.CloseClipboard()

Leave a Reply

Your email address will not be published. Required fields are marked *