icolor

Interpolate ANSI colors in strings
Download

icolor Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Brian M Hunt
  • Publisher web site:
  • https://github.com/brianmhunt/

icolor Tags


icolor Description

icolor is a tool to print Python strings with interpolated colors.Example:>>> cformat("This is #RED;a red string.")'This is \\x1b[31ma red string.\\x1b[0m'>>> cformat("This is #BLUE;a blue string.", reset=False)'This is \\x1b[34ma blue string.'Also included is a cprint command, which as a convenience prints the result of the cformat call.Product's homepage


icolor Related Software