How to print colored text to the terminal
This somewhat depends on what platform you are on. The most common way to do this is by printing ANSI escape sequences. For a simple example, here’s some Python code from the Blender build scripts: To use code like this, you can do something like: Or, with Python 3.6+: This will work on unixes including OS … Read more