silence interpreter echo

Alex Martelli aleax at aleax.it
Wed May 7 11:14:06 EDT 2003


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





More information about the Python-list mailing list