Python: Won't copy to the clipboard
Hello,
I having a hard time figuring out why this code works in an interactive ipython shell, but it gives a blank clipboard when run in a bash terminal. Code:
#! /usr/bin/python2.6 Code:
#! /bin/bash However, a paste shows the clipboard to be empty. Any ideas? Thanks, Narnie |
Opps. I found it. I needed to call cb.store() to "seal the deal" after calling cb.set_text(text)
Here is how the code should read for those needing to know. Code:
#! /usr/bin/python2.6 Narnie |
All times are GMT -5. The time now is 02:19 AM. |