Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't think that's stupid. I think that's a great idea. I might have to use 'xclip' to go about making something equivalent.


> I might have to use 'xclip' to go about making something equivalent.

Right now my code just shells out to pbcopy on Mac, but you may be interested in pyperclip[1] which provides cross-platform access to the clipboard.

[1] https://github.com/asweigart/pyperclip





Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: