

def WriteText(self, text):
    if self.settings.unprintable:
        text = ''.join([(c if ((c >= ' ') and (c != '\x7f')) else unichr((9216 + ord(c)))) for c in text])
    self.text_ctrl_output.AppendText(text)

dataset/ETHPy150Open pyserial/pyserial/examples/wxTerminal.py TerminalFrame.WriteText/original