python - 입출력 문자열 색변경
from sys import platform from random import randint if platform.startswith('win'): from colorama import init init() colorList = { 'white': "\x1b[39m", 'yellow': "\x1b[33m", 'green': "\x1b[32m", 'blue': "\x1b[34m", 'cyan': "\x1b[36m", 'red': "\x1b[31m", 'magenta': "\x1b[35m", 'black': "\x1b[2m", 'darkwhite': "\x1b[37m", 'darkyellow': "\x1b[33m", 'darkgreen': "\x1b[32m", 'darkblue': "\x1b[34m", 'd..
2014. 3. 31.