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)
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;
Source (Click to View)
Function: colorize(String txt, Integer color)
Example (Click to View)