Oct-31-2019, 03:48 AM
(Oct-31-2019, 03:32 AM)newbieAuggie2019 Wrote:Thanks you so much Bro :)(Oct-31-2019, 02:19 AM)hadoan Wrote: Hi Everyone.
I want to make color for text, string when print into the console window but could not.
I have searched on google but not lucky.
How to do that ?
My Python ver 3.7.4
Thanks in advance!
Hi!
It depends on which console you are using. You cannot do it with the Python 3.7.4 Shell. You could use for instance Cmder instead.
You also need to install and then import a module dedicated to use and format colour in python, and then make a program or use formatting according to the module you have installed.
More information here, where I compare different such modules and show some little programs on how to use their characteristics:
https://python-forum.io/Thread-colouring-strings
All the best,