[Tutor] Cool Konqueror feature for displaying Python code (question)

Michael Williams michael.williams@st-annes.oxford.ac.uk
Thu, 30 May 2002 18:20:38 +0100


On Thu, May 30, 2002 at 10:04:49AM -0400, Kirby Urner wrote:
> and noticing that they display with color-coded syntax e.g. red text 
> between triple quotes.  However, the colorizing seems a bit inconsistent 
> in than range and len are colorized (brown), but def, for, while, return, 
> if, elif, else are not.  Integers show up in blue, turning purple after the 
> decimal (meaning bi-color floats).  The keyword self appears in green.

Is this not becuase def, elif, if, etc. are Python keywords and range
and len are functions?

-- 
Michael