class - clipboard

 

 


Window 上安裝:

 

C:\Python27\Scripts\easy_install.exe clipboard

i.e.

import clipboard
clipboard.copy(tmppw)
text = clipboard.paste()  # text will have the content of clipboard

 


 

Creative Commons license icon Creative Commons license icon