Easy way to get the X selection (as text)?

Christopher Arndt chris.arndt at gmx.net
Wed Mar 7 12:14:43 EST 2001


I skimmed the docs of most X GUI modules for python on how to retrieve
the X selection, but this seems to be a non-trivial task. Is there an
easy way to do this, without having to use tkinter (don't want a useless
window) or is there a ready-to-use module for this?

I want to write a little utility for openening urls I have selected in
some window.

Thanx in advance. Please email me. I'm no list member, nor do I read the
news regulary

Cheers, Chris




More information about the Python-list mailing list