We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.


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.