Answers for "python console print background color"

2

how to change the console background color in python

import os

os.system('color 8f')
Posted by: Guest on June-08-2021
0

print colored text to console python

colored = lambda r, g, b, txt : f"33[38;2;{r};{g};{b}m{txt}33[m"
Posted by: Guest on December-20-2020

Code answers related to "python console print background color"

Python Answers by Framework

Browse Popular Code Answers by Language