Skip to content

pykit3/k3color

Repository files navigation

k3color

Build Status Documentation Status Package

create colored text on terminal

k3color is a component of pykit3 project: a python3 toolkit set.

Install

pip install k3color

Synopsis

# output text in blue:
>>> blue('I am blue')
 '\x01\x1b[38;5;67m\x02I am blue\x01\x1b[0m\x02'

Author

Zhang Yanpo (张炎泼) drdr.xp@gmail.com

Copyright and License

The MIT License (MIT)

Copyright (c) 2015 Zhang Yanpo (张炎泼) drdr.xp@gmail.com