[Tutor] Suppressing output in interactive mode

Andre Roberge andre.roberge at gmail.com
Fri Jan 11 12:55:07 CET 2008

You may want to check here:


On Jan 11, 2008 7:26 AM, Olivier Lefevre <lefevrol at yahoo.com> wrote:
> This is stupid but my python is rusty I can neither
> remember nor find out anew how to enter an expression
> that returns a value w/o being seeing the result printed.
> I would have expected something
>     expr;
> as opposed to
>     exp
> to do the trick but no dice and I haven't had any luck
> with Google or the docs. Can it be done? Note that I
> don't necessarily want to suppress all output, just
> just for certain expressions (e.g., within a loop,
> so as not to get flooded).
> Thx much,
> -- O.L.
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor

More information about the Tutor mailing list