I love Jupyter Notebook. However, it prints many, many updates to the terminal it was started from. For example, every time a file is saved manually or automatically, a line is printed. It makes the terminal virtually useless.
How do I stop it?
I love Jupyter Notebook. However, it prints many, many updates to the terminal it was started from. For example, every time a file is saved manually or automatically, a line is printed. It makes the terminal virtually useless.
How do I stop it?
import warnings; warnings.simplefilter('ignore') This would help you get rid of normal warnings.
You can easily disable the warnings permanently by just adding the following code:
import warnings warnings.filterwarnings('ignore') to the following file:
~/.ipython/profile_default/startup/disable-warnings.py 3 lines ...
import warnings warnings.filterwarnings('ignore') warnings.simplefilter('ignore')
jupyter notebook >/dev/null 2>&1and read up on dev/null redirection