python将文本写入剪切板

 

import pyperclip
pyperclip.copy('The text to be copied to the clipboard.')
spam = pyperclip.paste() 

 

 

摘自https://blog.csdn.net/liumeng305/article/details/48595489

posted on 2018-12-12 16:11  跨过⑦海D風  阅读(5715)  评论(0编辑  收藏  举报

导航