I try to create colour text by using these two  modules , only returns the 
colour code, no colour text.
How to solve this problem.

>>> import termcolor
>>> import colorama
>>> colorama.init()
>>> termcolor.cprint('Hello World','red')
[31mHello World[0m


Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to