This document is for Celery's development version, which can be significantly different from previous releases. Get old docs here: 2.5.
Terminals and colors.
| copyright: |
|
|---|---|
| license: | BSD, see LICENSE for more details. |
Terminal colored text.
>>> c = colored(enabled=True)
>>> print(str(c.red("the quick "), c.blue("brown ", c.bold("fox ")),
... c.magenta(c.underline("jumps over")),
... c.yellow(" the lazy "),
... c.green("dog ")))