Answers for "python change cmd color"

0

python color text on windows

import termcolor
import os
os.system('color')
print(termcolor.colored("I want to help", "red"))
Posted by: Guest on October-15-2020
1

how to change the color of command prompt in python

import os
# To get all possible colors for the command line, open the command prompt
# and enter the command "color help"
os.system('color FF')
Posted by: Guest on May-13-2020

Python Answers by Framework

Browse Popular Code Answers by Language