Python3 Mac剪切板存取内容-xerox

Python3 Mac剪切板存取内容-xerox,第1张

# 安装xerox

pip3 install xerox

pip install xerox

# coding: utf8

import xerox

# python 写入剪切板

xerox.copy(u'some string12312313')

# python 读取剪切板

s = xerox

print(s)

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/922453.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-16
下一篇2022-05-16

发表评论

登录后才能评论

评论列表(0条)

    保存