Answer the question
In order to leave comments, you need to log in
How to do "syntax" highlighting in python?
Tell me, please, using the code example (Python 3.4) how to highlight the "syntax"?
There are "service" words print(-text-), line(-text-), preferably orange, variable types(int, str...), blue color. And the rest of the text is black, how to implement? Then I climbed all the IDLE code, I did not understand how.
Attention! The important thing is that instead of -text- EVERYTHING will go.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question