Skip to content

Instantly share code, notes, and snippets.

@miminus
Last active July 20, 2016 06:28
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 miminus/745430ceb401428525a4c1292cfc1933 to your computer and use it in GitHub Desktop.
Save miminus/745430ceb401428525a4c1292cfc1933 to your computer and use it in GitHub Desktop.
import termcolor
# special use
red_on_cyan = lambda x: termcolor.colored(x, 'red', 'on_cyan')
print red_on_cyan('* MiniSpider is Staring ... ')
# general use
print termcolor.colored('* MiniSpider Configurations list as follows:', 'green')
print termcolor.colored('* MiniSpider Configurations list as follows:', 'red')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment