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