set_string¶ pasteboard.set_string(text: str | list[str])¶ Copies the given text to the pasteboard. Parameters: text – A string or a list of strings.