<div dir="ltr">Hi,<div><br></div><div>There are known differences in the output of IDLE and the terminal window.</div><div>There is some documentation here: <a href="https://docs.python.org/3/library/idle.html#idle-console-differences">https://docs.python.org/3/library/idle.html#idle-console-differences</a></div><div><br></div><div>In addition, IDLE seems to only handle \n  character, but other charater like \r \b aren't handled.</div><div><br></div><div>There is an issue in the bug tracker that discusses this: <a href="https://bugs.python.org/issue23220">https://bugs.python.org/issue23220</a></div><div><br></div><div>Hope this helps.</div><div><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Mariatta Wijaya</div></div><br></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=abWFyaWF0dGEud2lqYXlhQGdtYWlsLmNvbQ%3D%3D&type=zerocontent&guid=4415ef36-f195-45e0-909b-f52692037241"><font color="#ffffff" size="1">ᐧ</font></div>