Matching Control Characters

Robert Brewer fumanchu at amor.org
Tue Nov 2 02:16:15 EST 2004


Greg Lindstrom wrote:
> > Use the escape for Control-M: \x0D
> > Reinhold
> 
> Thank-you.  That does the trick!  If you would be so kind, 
> where does one
> look up the escape values for control sequences?  As they 
> say: Build a man a
> fire and he's warm for a day.  Set a man on fire and he's 
> warm for the rest
> of his life.

Look up any old ASCII table. "0D" is hexadecimal for decimal 13. You'll
notice that "M" is the 13th letter in the English alphabet. Lather,
rinse, repeat.


Robert Brewer
MIS
Amor Ministries
fumanchu at amor.org



More information about the Python-list mailing list