摘要: import sysfrom termcolor import colored, cprinttext = colored('Hello, World!', 'red', attrs=['reverse', 'blink'])print(text)cprint('Hello, World!', 'green', 'on_red')print_red_on_cyan = lambda x: cprint(x, 'red', 'on_cyan')print 阅读全文
posted @ 2014-01-24 15:39 Martin2 阅读(559) 评论(0) 推荐(0) 编辑