John Hunter wrote: ... > How is the interpreter echo controlled, via sys.stdout? Not sure how this applies to your customized interpreter, but, in the standard interpreter, result of expression statements you enter at the prompt are passed on to sys.displayhook -- you can install your own function there to do whatever you want. Alex