1. 程式人生 > >python將文字寫入剪下板

python將文字寫入剪下板

 

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

 

 

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