0
我想打印用raw_input顏色輸入名稱 下面是它將首先打印的代碼輸入名稱與顏色,然後在下一行我正在閱讀輸入。閱讀彩色格式輸入打印python
class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
print bcolors.WARNING + "Enter name:" + bcolors.ENDC
storage_select = raw_input()
但我想下面的東西顏色
a = raw_input("Enter name")