def copy_to_clipboard(new_text): pyperclip.copy(new_text) print("The new string is now copied to the clipboard. Hit CTRL V to paste.")