pygments.console

Format colored console output.

copyright:Copyright 2006-2013 by the Pygments team, see AUTHORS.
license:BSD, see LICENSE for details.
pygments.console.ansiformat(attr, text)[source]

Format text with a color and/or some attributes:

color normal color color bold color _color_ underlined color +color+ blinking color

Project Versions

This Page