Python Forum

Full Version: AssertionError when trying the sys module in python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(Nov-21-2022, 04:24 PM)Gribouillis Wrote: [ -> ]This is interesting, it actually works to write text in green, blue or red and other colors of the syntax highlighting configuration. The underlying mechanism is the one that allows to print in colors in a Tkinter text window. Perhaps it could be possible to modify the code to print in any color in IDLE. It seems that a lot of the magic happens in the file colorizer.py of idlelib.

Nice idea, however there are not so many applications. Printing in color in a console is often an unnecessary gadget that just makes your code more complex.

It'd be great if it was possible in something not green, blue, purple, red, orange, or another one of those things, but another color(like yellow).
Quote:Nice idea, however there are not so many applications.
It would be great, as I'm just beginning to code and I use the console a lot.
Pages: 1 2