Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Linux] Terminal Coloring text
#1
Sup guys, I've been working on a script for a while now, for which I needed to display output in various colors. On Linux, the Terminal does support this and it's quite easy to get done, windows however, doesn't have this power, though there are few Python modules for this.
My code is supposed to run on Linux, so I can't say if this module will work, even if you install something that would enable it, I never tested it on windows nor Mac systems.

Anyway, for all you who use Linux and could need this, here you go;

Function: colorize(String txt, Integer color)

Reply
#2
I'm going to test this now, Gaijin. I'll update this post with what I think about it.
Reply
#3
Nice contribution! I will use this ;)
Reply
#4
this is good looking man.

This looks pretty useful.
Reply
#5
Great. Right after I formatted Ubuntu off my system. >Sad
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)