mirror of
https://github.com/kennethreitz/clint.git
synced 2026-06-05 23:00:18 +00:00
16 lines
293 B
Python
Executable File
16 lines
293 B
Python
Executable File
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
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.__all__:
|
|
print getattr(colored, color)(text % color.upper()) |