【问题标题】:Make anaconda jupyter notebook auto save .py script制作 anaconda jupyter notebook 自动保存 .py 脚本
【发布时间】:2018-04-04 15:33:29
【问题描述】:

我希望能够从 Anaconda 启动 jupyter notebook,并在我保存 .ipynb 时让它自动保存 .py 脚本。我尝试修改 Anaconda3/envs/env_name/Scripts/ 中的 jupyter-notebook-script.py 但这不是正确的方法。我知道我想在某处设置post-save-hook=True。

【问题讨论】:

    标签: python


    【解决方案1】:

    您应该通过添加修改 Anaconda3\envs\env_name\etc\jupyter\jupyter_notebook_config.json

    "FileContentsManager": {
        "post-save-hook":true
    }
    

    【讨论】:

      猜你喜欢
      • 2019-03-23
      • 1970-01-01
      • 2019-12-13
      • 1970-01-01
      • 2015-10-15
      • 1970-01-01
      • 2019-02-17
      • 1970-01-01
      • 2020-11-02
      相关资源
      最近更新 更多