Welcome to ansicolortags's documentation!
Welcome to the documentation for ansicolortags, a Python 2 or 3 module to use ANSI colors in a terminal application from Python.
The ansicolortags module provides an efficient and useful function (:py:func:`printc`) to print colored text in a terminal application with Python 2 and 3, with a HTML-tag like style:
>>> from ansicolortags import printc # Import the function >>> printc("I like my sky to be <blue>blue<reset>, not <black>dark<reset> !") I like my sky to be blue, not dark !
- This project is open-source here on BitBucket.
- This project is also available from Pypi, so a quick overview and the last release can be downloaded from Pypi: https://pypi.python.org/pypi/ansicolortags !
And, a detailed description of every functions and every constants of the :py:mod:`ansicolortags` module is available on the documentation of the module ansicolortags (automatically generated from the docstrings in the file).
Index and tables
Table of contents
This project is based on my old ANSIColors-balises project, which was only for Python 2.7.