0

Colored Print again

I searched a little bit in the Internet and only found Extra Modules. But nothing with the default Modules. Then I found this: print '\033[1;32mGreen like Grass\033[1;m' And I don't is that actually? I can Not try it becouse I am Not at home and my Computer is at home. I only have the app but it doesn't print colored. Can one tell it me :D?

17th Aug 2017, 3:57 PM
Ninj4
2 Respuestas
0
Okay thx
19th Aug 2017, 7:23 AM
Ninj4
- 1
Shoud work on standart linux shells, in windows you need to use colorama: Open administrator console > python -m pip install colorama in code: import colorama colorama.init()
18th Aug 2017, 11:43 PM
Michal Pácal
Michal Pácal - avatar