syntax highlighting
An editor feature that shows different parts of the code, such as keywords, strings and comments, in different colours.
In more detail
In Idle keywords are orange, strings green, comments red and built-in names purple. A string that suddenly colours the rest of the line green is a sign of a missing closing quote.
Related terms
- IDLE — The simple editor and Python shell that come with Python itself.
- text editor — A program for writing and changing plain-text files, such as scripts and configuration files.
Taught in
- Editors, IDEs And Shells — Hands-on Python: Complete Video Course & Book