zoukankan      html  css  js  c++  java
  • Jupyter Notebook的安装与使用

    1. 安装

    pip3 install jupyter

    2. 启动

     地址栏输入 localhost:8888,并输入token后面的密码

    3. 主页面

    第一次打开的主页面有很多文件夹,下面来修改jupyter notebook文件的存放目录

    (1)获取配置文件路径

    jupyter notebook --generater-config

     

    (2)修改配置文件

    打开上述目录中的jupyter_notebook_config.py文件,修改如下:(可用ctrl + F查找 c.NotebookApp.notebook_dir )

    修改后,取消注释

     (3)保存修改后的配置文件

    (4)在终端重新输入 jupyter notebook,打开后会看到一个清爽的界面

    4. 使用

    Files页面是用于管理和创建文件相关的类目。对于现有的文件,可以通过勾选文件的方式,对选中文件进行复制、重命名、移动、下载、查看、编辑和删除的操作

    Running页面主要展示的是当前正在运行当中的终端和“ipynb”格式的笔记本。若想要关闭已经打开的终端和“ipynb”格式的笔记本,仅仅关闭其页面是无法彻底退出程序的,需要在Running页面点击其对应的“Shutdown”。

    参考博客:https://www.jianshu.com/p/91365f343585

  • 相关阅读:
    UI5 Databind
    the meaning of myconputer environment path
    Linux查看日志常用命令
    fw: IP bonding in Linux.
    FW:expect tcl install
    install ET underlinux
    转expect 文一篇。
    linux 集萃
    try expect and autoexpect
    linux 压缩种类
  • 原文地址:https://www.cnblogs.com/shuaishuaidefeizhu/p/13879167.html
Copyright © 2011-2022 走看看