I have a Python TUI application and I want it to save the the result of a user selection.
It's pretty easy to find a windows and mac api to copy something to the user clipboard, but how to do so in Linux from Python?
It needs to:
xclip does it for xwindows, so there muse be an api for that. And DE for wayland allow it, so there must be some c code I can call using ctypes maybe.
Subscribe to get latest updates