Is it possible to change the colour of comments in Python Idle?

Viewed 240

I would like to change the default colour of python comments, to something which is visible to me as I am colour blind. Are there any customizable features in Python Idle, or would I have to switch to another platform to be able to change the colour of comments in Python. Thanks.

2 Answers

Yes. You can do

Options > Configure IDLE > Highlights > Choose Color for:

And select the "Normal Code or Text", and there you'll be able to choose the "Python Comments" option:

enter image description here

Options > Configure IDLE > Highlights tab > Choose color for: Python Comments

Related