May-18-2023, 09:26 AM
(This post was last modified: May-18-2023, 09:26 AM by Gribouillis.)
It works very well, thanks!
Suggestion: add code to copy the banner to the X selection (assuming you are in Linux). Here is code to do that
Suggestion: add code to copy the banner to the X selection (assuming you are in Linux). Here is code to do that
import subprocess as sp banner = '#========<spam eggs ham>=========#' sp.Popen(['xsel', '-i', '-b'], stdin=sp.PIPE).communicate(banner.encode())Then paste the banner in other apps with Ctrl-V