Created
October 25, 2013 04:42
-
-
Save kalhartt/7149518 to your computer and use it in GitHub Desktop.
termcolor test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from termcolor import colored | |
col1 = 'data1' | |
col2 = 'data2' | |
col3 = 'data3' | |
col4 = 'data4' | |
for color in ['yellow', 'green', 'red', 'white']: | |
print(col1, col2, col3, colored(col4, color)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment