pythoncom.OleSetClipboard

OleSetClipboard(dataObj)

Places a pointer to a specific data object onto the clipboard. This makes the data object accessible to the OleGetClipboard function.

Parameters

dataObj : PyIDataObject

The data object to place on the clipboard. This parameter can be None in which case the clipboard is emptied.