4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:python tag:color — newest first
  • GitHub - Textualize/rich: Rich is a Python library for rich text and beautiful formatting in the terminal.
    • https://pypi.org/project/simple-term-menu/
    • https://click.palletsprojects.com/en/8.1.x/
    May 4, 2022 - permalink - https://github.com/Textualize/rich
    color format python terminal
  • colorama · PyPI
    January 8, 2021 - permalink - https://pypi.org/project/colorama/
    color python
  • python - Print in terminal with colors? - Stack Overflow

    def print_format_table():
    """
    prints table of formatted text format options
    """
    for style in range(8):
    for fg in range(30,38):
    s1 = ''
    for bg in range(40,48):
    format = ';'.join([str(style), str(fg), str(bg)])
    s1 += '\x1b[%sm %s \x1b[0m' % (format, format)
    print(s1)
    print('\n')

    print_format_table()

    November 17, 2017 - permalink - https://stackoverflow.com/questions/287871/print-in-terminal-with-colors
    color python terminal