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