Skip to content

Instantly share code, notes, and snippets.

@kalhartt
Created October 25, 2013 04:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kalhartt/7149518 to your computer and use it in GitHub Desktop.
Save kalhartt/7149518 to your computer and use it in GitHub Desktop.
termcolor test
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