美文网首页
jupyter notebook win7下工作路径设置方法

jupyter notebook win7下工作路径设置方法

作者: xigua1234 | 来源:发表于2017-04-02 21:59 被阅读80次

    方法一、

    在cmd中输入:

    jupyter notebook--generate-config

    这时会在用户目录(user\用户\ )出现.jupyter文件夹,其中包括文件jupyter_application_config.py

    打开该文件,找到如下行

    # c.NotebookApp.notebook_dir = ''

    改为

    c.NotebookApp.notebook_dir = D:\\mycode

    此时双击exe或是cmd运行打开notebook都处于D:\mycode路径。

    方法二、

    将jupyter-notebook.exe的快捷方式,修改一下起始路径。

    然后双击运行,即可

    相关文章

      网友评论

          本文标题: jupyter notebook win7下工作路径设置方法

          本文链接:https://www.haomeiwen.com/subject/cqkqyttx.html