So I have a code that will create colored text for me. It works when I am testing the program within PyCharm, but when I convert the file to an exe using pyinstaller it gives me a weird printing output.
Code:
blue = lambda text: '\033[0;34m' + text + '\033[0m'
print(blue('Hello World'))
Output:
[0;34mHello World[0m
This code has to run on someone else's pc, so I can't really download any modules unless there is a way to bundle them with the exe. Is there something I am doing wrong? Is there a way to have color after converting into an exe?