chr

chr(i) => string

Returns a one-character string whose ASCII code is the integer i. For example, chr(97) returns the string 'a'. This is the inverse of ord. The argument must be in the range [0..255], inclusive; ValueError will be raised if i is outside that range.

To create Unicode strings, use unichr.

 

A Django site. rendered by a django application. hosted by webfaction.