I'm using ruby 2.2 , and Python 2.7 . My code is :
print("\033[4;31;42mHelloWorld\033[0m")
That code works fine in Ruby . It print a colored string to the screen. But in Python , it doesn't work . Who can tell me some reasons , and if we can fix this without using third-party libraries , how to do that ? Thanks all.