Ask coding questions

← Back to all posts
Red on Black hard to read
jbarberdoyle (1)

When I run my code, errors are posted in red and red on black is very hard to read for me. Is there a setting I can change or some code I can add to my program to have errors print in another color? Or even changing the console to light mode or similar.

InvisibleOne (2934)

Currently no, you can't change the console colors, make a post in the feedback space (
The hacky way to fix this is to put all of your code inside of try and then use except Exception to print out the error, which will be white on black, or if that doesn't work for you you could use something to color it. here's an example

  #try to do this code
  bob += 23
except Exception as e: