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