[PyQt] Searching for a very small scprit using CLIPBOARD

projetmbc projetmbc at club-internet.fr
Sat Apr 25 21:58:35 BST 2009


Hello,
here is an example for using the clipboard of Tkinter :
====================
from Tkinter import *
root = Tk()
root.clipboard_clear()
root.clipboard_append('A text in the clipboard...')
root.withdraw()
====================

I would like to do the same with PyQt. Is it possible ?

Christophe.

PS : if someone knows a Python script which is an universal ClipBoard 
(ie which works on Unix and Windows), it would be better. The purpose is 
just to send text.



More information about the PyQt mailing list