python – How can I silence logs of a command in .ipynb file?

How can I hide the results of a terminal command? I’m ran this code on google-colab: import sys !{sys.executable} -m pip install -U pandas-profiling[notebook] !jupyter nbextension enable –py widgetsnbextension I already tried using warning library, but it didn’t work. And I’m getting these logs in the file that I’d like to hide: Requirement already satisfied: … Read more