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
Add the following on the top of your code,
import warnings;
warnings.filterwarnings('ignore');
You should try this:
import warnings
warnings.filterwarnings('ignore')
3 lines ...
import warnings
warnings.filterwarnings('ignore')
warnings.simplefilter('ignore')