Text color in python interactor

Hi all,

How can I print text in the python interactor in different colors?

Colors are reserved for distinguishing different types of messages (info, warning, error, console input/output). What would you like to achieve?

That’s exactly what I want. When running the code, I want to notify the user or print error messages, but I would like to do so in a different color.

You can use

import logging
logging.info('All OK')
logging.warning('Something is wrong')
logging.error('Even worse')
1 Like

Thanks. Still not working as expected:

imagen

So I guess that it is not possible to print text in a random color.