i'm new to python (about a week or less) and I'm using python 2.7.
i'm writing a program to check ip validation and classes and i want to make the output in color, so it will be more readable on terminal to the user.
i have already tried this:
# to make the text purple for example.
print '\033[95m' + "This is a purple output"
# if i'm writing another simple print after the first one it will be purple too
print "Example" # now this statement purple too
but when i use this example the output after the first print method become purple too.
Thank for everyone who try.