Can I color the output of a Python program?

Question:

For example, I want the lines of the form, or rather their output to the console:

print 'Hello World'

They were green. Is it possible? Tell me how?

Answer:

colorama

Cross-platform colored terminal text.

Scroll to Top