Newbie...

Steven D'Aprano steve+comp.lang.python at pearwood.info
Fri Feb 25 10:44:08 CET 2011


On Fri, 25 Feb 2011 03:45:29 -0500, Corey Richardson wrote:

> On 02/25/2011 03:39 AM, Corey Richardson wrote:
>> Also, if one understands how a unicode byte looks like in a string,
>> it's pretty easy to understand, and looks a hell of a lot clearer than
>> a bunch of chr()'s without any space between. That's just my two cents.
> 
> Err..not a unicode byte, but it's some sort of escape sequence that
> represents a byte. Not sure what it's called, to be honest.

An escape sequence :)

Specifically, a hexadecimal escape. There are also octal escapes and 
character escapes like \n for newline.


-- 
Steven



More information about the Python-list mailing list