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"