Python Forum
AssertionError when trying the sys module in python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AssertionError when trying the sys module in python
#11
(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.
The only stupid person in the world, is the person that doesn't ask questions.
-Someone smart
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  AssertionError: View function mapping is overwriting an existing endpoint function Zhavi221 7 19,122 Apr-17-2019, 01:07 PM
Last Post: Zhavi221

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020