I'm using the syntax "\033[31;40mRed\033[37;40m" for coloring text in the terminal, and it works perfectly on my Linux laptop, but when I installed Python on my Windows PC and tried running my code, the color syntax just printed as-is. Is there another module I have to install for it to work on Windows?
Coloured text in the terminal works in Linux but not Windows
Coloured text in the terminal works in Linux but not Windows
|
|
Messages In This Thread |
Coloured text in the terminal works in Linux but not Windows - by Flexico - Aug-26-2019, 09:41 PM
RE: Coloured text in the terminal works in Linux but not Windows - by metulburr - Aug-26-2019, 10:14 PM
RE: Coloured text in the terminal works in Linux but not Windows - by Flexico - Aug-26-2019, 10:44 PM
|
Users browsing this thread: 4 Guest(s)