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


Messages In This Thread
[Linux] Terminal Coloring text - by Gaijin - 09-23-2011, 01:01 PM
RE: [Linux] Terminal Coloring text - by BreShiE - 09-26-2011, 02:55 PM
RE: [Linux] Terminal Coloring text - by Pikachu - 01-05-2012, 06:00 PM
RE: [Linux] Terminal Coloring text - by Grin - 01-11-2012, 11:38 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)