text_braille.py revision 832f54d1b48015feea9667930909446682592269
# -*- coding: utf-8 -*-
convert_table = {\
}
class C(chardataeffect.CharDataEffect):
r = ""
for c in text:
r = r + convert_table[c.lower()]
else:
r = r + c
return r
c = C()
c.affect()