colorama

>>> import python
getpy
Published in
1 min readJun 11, 2017

colorama allows you to print text in color on the terminal.

It’s

- Cross platform (Windows, *nix)
- Works with Python 3.x
- Is an active open source project.

I use colorama while debugging. Currently working on a software that produces logs sized 1–2GBs per day, tail -f coupled with colorama allows for quick visual identification of messages as thosands of lines scroll by.

Here is simple code snippet to get you started.

colorama code snippet

Head to https://github.com/tartley/colorama to know more about the features it offers.

--

--

>>> import python
getpy
Editor for

Free Python Newsletter http://importpython.com/newsletter/ keeps you updated on what's happening in the world of Python. Curated By @originalankur