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


unichr(i) -> string

Returns a one-character Unicode string whose Unicode code is the integer i. For example, unichr(97) returns the string u'a'. This is the inverse of ord for Unicode strings. The valid range for the argument depends how Python was configured — it may be either UCS2 [0..0xFFFF] or UCS4 [0..0x10FFFF]. ValueError is raised otherwise. (New in version 2.0.)