This document describes an older version of Celery (2.5). For the latest stable version please go here.
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 ")))