charnames package

Module contents

Implementation of perl charnames functions

charnames.string_vianame(name)[source]

This is a runtime equivalent to N{…}. name can be any expression that evaluates to a name accepted by N{…}

charnames.viacode(code)[source]

Returns the full name of the character indicated by the numeric code.

charnames.vianame(name)[source]

This is similar to string_vianame. The main difference is that under most circumstances, vianame returns an ordinal code point, whereas string_vianame returns a string.