Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Add color to text in python code using the "clint" module
- # Github: https://github.com/kennethreitz/clint or just do sudo pip intall clint
- Add this line to the top of your code to import clint
- from clint.textui import colored
- Example usage:
- print colored.red('some warning message')
- print colored.green('nicely done!')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement