Asked on Super User by EllipticalInitial, 5 years ago. No reply there for at least a week.
PS2Exe to run Python Script Doesn't Print Color (Colorama)
I want some of my Python scripts on Windows to have a custom icon, have their filename text in the title bar, and I want them to be pinnable to the taskbar and start menu. The easiest way to do this, I found, was to compile an exe file that just runs the Python script. This has the benefit of everything I desire above while also not forcing me to recompile an exe every time I edit the Python script. I went about this with PS2Exe. For example, here's my compile script: Invoke-PS2EXE runPythonFile.ps1 output.exe -iconFile icons/myIconFile.ico Here's the PS1 script that calls the Python file (nam
This question is one of 1 report of the same problem:
PS2Exe to run Python Script Doesn't Print Color (Colorama)
Nobody has answered it yet, here or anywhere.
Related problems
Question by EllipticalInitial on Super User, licensed CC BY-SA. We show a short excerpt and link to the original thread as credit.