I have been trying to print to RV's console from Python with color codes. Although my text appears there, they do not get color coded when they are prefixed with "ERROR", "INFO" and "WARNING".
When I look at existing *.mu scripts it appears that they only use the print function and then prefixes the message with ERROR/INFO/WARNING but when I do the same in Python nothing happens. I even tried to run mu from Python:
import rv.commands as cmd
cmd.eval("{print('ERROR: This message will not be color coded.');}")
But again, no color codings. If it matters, I do my testing in ~/.rvrc.py and then execute rv in a terminal.