📜  python如何访问剪贴板 - Python代码示例

📅  最后修改于: 2022-03-11 14:47:08.499000             🧑  作者: Mango

代码示例1
import clipboard
clipboard.copy("abc")  # now the clipboard content will be string "abc"
text = clipboard.paste()  # text will have the content of clipboard