摘要:
import win32clipboard as wimport win32condef getText():w.OpenClipboard()d = w.GetClipboardData(win32con.CF_TEXT)w.CloseClipboard()return ddef setText(aString):w.OpenClipboard()w.EmptyClipboard()w.SetClipboardData(win32con.CF_TEXT, aString)w.CloseClipboard() 阅读全文