pip install termcolor pip3 install termcolor dnf install python2-termcolor.noarch dnf install python3-termcolor.noarch
#!/usr/bin/env python3 from termcolor import colored print('Find ~/.my.cnf file... [', colored('ok', 'green', attrs=['bold']), ']')