[Tutor] Suppressing output in interactive mode

Olivier Lefevre lefevrol at yahoo.com
Fri Jan 11 16:14:42 CET 2008


> If you follow the discussion thread look through the link I provided,
> I believe this is addressed a bit later.

Yes and no. They do discuss possible hooks a bit further in
http://mail.python.org/pipermail/edu-sig/2007-August/008161.html
but merely to suggest toggling between echo and no-echo. It gave
me the idea of trying

    def f(value):
       global _
       _ = value

i.e., assign _ without printing, but that doesn't work.

-- O.L.



More information about the Tutor mailing list