Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from unidecode import unidecode
- for i in range(192, 564):
- char = unichr(i)
- decoded = unidecode(char)
- if (len(decoded) > 1 and decoded.isalpha()):
- print "case '" + char + "': return '" + unidecode(char)[0] + "';"
Add Comment
Please, Sign In to add comment