LoginSignup
1
1

More than 5 years have passed since last update.

Jupyter notebook/lab メニューの Terminal を非表示にするお話

Last updated at Posted at 2019-03-07

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 が消えます。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1