Jupyter modify the default file save path

A, Jupyter installation

Premise need to have installed python environment ~

Subsequently, the next version of the installation path pip Python3x command to install

pip3 install Jupyter

Look at network speed, installed after a successful installation will appear passage can be.

Second, start jupyter notebook two ways

1: command line window enter jupyter notebook, the browser automatically open jupyter notebook

2: Finding the installation path (for example: I am the D: \ Python36 \ Scripts) jupyter-notebook.exe double-click the file in the direct run, this time working directory is the directory where the .exe file.

Third, modify the default file path jupyter notebook

1: D disk itself create a new file (for example: I am the D: \ JupyterWork)

2: Installation of a path, find jupyter-notebook.exe file, right to the shortcut, right-click Properties, the file will be changed to the start position established by its own address

3: After running this shortcut to open the page as follows:

Top, there are three different labels:

● Files (file), the tag displays the files in the current working directory

● Running (running), the inner tab displays Notebook files currently running in the background

● Clusters (cluster), this is not being used, I do not know:

4: Create a new Notebook file, click the New button on the right, select Python 3, a new code can run Python 3 Notebook file

      Input sentence print ( "hello, world"), press ctrl + enter, performs automatic printout.

5: the top of the file is renamed to helloworld, the label will show the files under the file, the file name format to .ipynb

6: the time to see the original D disk file path already set the new file helloworld

 

------------end-------------

Other subsequent learning content to be updated again. . . . .

ps:

1: pip installation seems no need to modify the following configuration jupyter_notebook_config.py? ? ?

2:那个修改jupyter notebook默认文件路径,若是用Anaconda安装的,快捷键那边,有个目标地址,后面有一个%USERPROFILE%

      将%USERPROFILE%改成你要的路径就可以了???没试过,可以自行试试~

 

Guess you like

Origin www.cnblogs.com/gbgx/p/11291761.html