How to colorize the output of Python errors in the Gnome terminal?
问题 Note: I am asking this question after researching how to actually do it. Other questions which are somewhat similar, but actually differ from my question relate to: Color-coding within the python script Importing color libraries within the script Using tools like Solarized to improve tools like Vim to color-code python code. What I am looking for: I already have a simple python script (say, test.py) and I am executing it from the Gnome terminal. python test.py test.py will output some errors