Esempio n. 1
0
def bold(text, color='white'):
    return colored(text, color, attrs=['bold'])
Esempio n. 2
0
def bold(text, color='white'):
    return colored(text, color, attrs=['bold'])
Esempio n. 3
0
def color(text, color, attrs=[]):
    """Produce a colored text for the terminal."""
    return colored(text, color, attrs=attrs)
Esempio n. 4
0
def color(text, color, attrs=[]):
    """Produce a colored text for the terminal."""
    return colored(text, color, attrs=attrs)