mirror of
https://github.com/kennethreitz/clint.git
synced 2026-06-05 06:46:16 +00:00
19 lines
333 B
Python
Executable File
19 lines
333 B
Python
Executable File
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import print_function
|
|
|
|
import sys
|
|
import os
|
|
|
|
sys.path.insert(0, os.path.abspath('..'))
|
|
|
|
from clint.textui import colored
|
|
|
|
text = 'THIS TEXT IS COLORED %s!'
|
|
|
|
if __name__ == '__main__':
|
|
|
|
for color in colored.COLORS:
|
|
print(getattr(colored, color)(text % color.upper()))
|