table continued character description \ \ \ line feed vertical tab horizontal tab carriage return form feed octal value (\ to \ unicode character (\ to \uffffunicode character (\ to \uffffffffunicode character name hexadecimal value (\ to \xff\ \ \ooo \uxxxx \uxxxxxxxx \ {charname\xhh the escape codes \ooo and \ are used to embed characters into string literal that can' be easily typed (that iscontrol codesnonprinting characterssymbolsinternational charactersand so onfor these escape codesyou have to specify an integer value corresponding to character value for exampleif you wanted to write string literal for the word "jalapeno"you might write it as "jalape\xf owhere \xf is the character code for in python string literals correspond to -bit character or byte-oriented data serious limitation of these strings is that they do not fully support international character sets and unicode to address this limitationpython uses separate string type for unicode data to write unicode string literalyou prefix the first quote with the letter "ufor examples "jalape\ oin python this prefix character is unnecessary (and is actually syntax erroras all strings are already unicode python will emulate this behavior if you run the interpreter with the - option (in which case all string literals will be treated as unicode and the prefix can be omittedregardless of which python version you are usingthe escape codes of \ \uand \ in table are used to insert arbitrary characters into unicode literal every unicode character has an assigned code pointwhich is typically denoted in unicode charts as +xxxx where xxxx is sequence of four or more hexadecimal digits (note that this notation is not python syntax but is often used by authors when describing unicode characters for examplethe character has code point of + the \ escape code is used to insert unicode characters with code points in the range + to +ffff (for example\ the \ escape code is used to insert characters in the range + and above (for example\ one subtle caution concerning the \ escape code is that unicode characters with code points above + usually get decomposed into pair of characters known as surrogate pair this has to do with the internal representation of unicode strings and is covered in more detail in "types and objects unicode characters also have descriptive name if you know the nameyou can use the \ {character nameescape sequence for examples "jalape\ {latin small letter with tilde}of lib fl ff