Cut and paste to X clipboard?

Stephen Boulet stephen.no at spam.theboulets.net.please
Tue Jun 29 09:41:56 EDT 2004


Sam Holden wrote:

> What's wrong with:
> 
> import os
> os.popen('xsel', 'wb').write(s)
> 
> ?

Nothing, other than I didn't know about it. ;)
Much better.

-- 

Stephen      

If your desktop gets out of control easily,
you probably have too much stuff on it that
doesn't need to be there.
         Donna Smallin, "Unclutter Your Home"



More information about the Python-list mailing list