Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Banner text
#3
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
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
rob101 likes this post
Reply


Messages In This Thread
Banner text - by rob101 - Oct-22-2022, 09:08 AM
RE: Banner text - by rob101 - May-17-2023, 10:24 PM
RE: Banner text - by Gribouillis - May-18-2023, 09:26 AM
RE: Banner text - by rob101 - May-18-2023, 10:44 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020