• I believe that my need for echo(0) comes from more complex code snippets that are separated by \n.

    Yes, that'll be the issue. \x10 is just for a single line. You should be able to send all your code (even big bits of code) without newlines, but you could always just enclose multiple lines in angle brackets: "\x10{print(1)\nprint(2)\n}".

About

Avatar for Gordon @Gordon started