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.
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.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2011-01-08 18:09:30 +0100
Seen: 1,829 times
Last updated: Jan 16 '12
How do I display the full output that includes graphics?
default startup options for sage notebook
Notebook List Object Data Storage/Retrieval? (Start/Restart)
Short Cython Example In A Notebook Cell?
how to get output in a mixed fraction?
What happens in insecure mode?