I am using a text function like this:
text = "Text Here"
in Python 3, and I was wondering how I could (or if it was even possible) to allow that text function to use color like in print
.
Is this somehow possible?
I am using a text function like this:
text = "Text Here"
in Python 3, and I was wondering how I could (or if it was even possible) to allow that text function to use color like in print
.
Is this somehow possible?
There are online sites that can give you the answer to this question. An example of text color in python would be print("\033[1;32;40m Bright Green \n")
. The code for colors are:
table
That is the table for the color codes. I hope this helps and that your question is answered! (: