suppressing output in notebook
How can I suppress output in notebook? In terminal mode I can write simply a semicolon after the command, but it does not work in notebooks.
Another thing you can do is just put the keyword "None" as the last line in the cell. Example:
1+1
None
I think the best solution is hiding the expression with an assignment statement.
If you have multiple lines in one cell it should not return anything. Of course, unless you invoke something which explicitly prints to the screen, such as plot or print.
Asked: 2011-01-08 18:09:30 +0100
Seen: 1,807 times
Last updated: Jan 16 '12