Jupyter notebook/lab メニューの Terminal を非表示にするお話
Anacondaインストールフォルダ配下にある
Lib/site-packages/notebook/notebookapp.py
を編集します。
開発環境やバージョンによるかと思いますが、
1200~1300行目あたりにある下記コードを False に変更します。
terminals_enabled = Bool(False, config=True,
notebookapp.py
terminals_enabled = Bool(False, config=True,
#terminals_enabled = Bool(True, config=True,
help=_("""Set to False to disable terminals.
This does *not* make the notebook server more secure by itself.
Anything the user can in a terminal, they can also do in a notebook.
Terminals may also be automatically disabled if the terminado package
is not available.
"""))
これで jupyter notebook / lab のメニューから Terminal が消えます。