The use of Jupyter Notebook, the modification of the default directory

Jupyter Notebook

 Web applications accessed through web pages, programs are written and executed in web pages

 Facilitate remote access to the program.

 Screening the display differences between different systems to facilitate code sharing

 Integrate programs and documents in the same document

Code, images, comments, formulas, graphics, running results.

Ability to share in the form of web pages or slides

Opening Jupyter Notebook will automatically jump to the browser, and the initial installation will jump to the user directory of the C drive. The default settings are not convenient to use, so it is recommended to modify its default directory before using it. Methods as below:

First use the previous method to open the terminal in ANACONDA, https://mp.csdn.net/console/editor/html/104534448

Enter jupyter notebook --generate-config to automatically create a configuration file

Copy the path to find the file, open it, ctrl F search dir to locate here, fill in the directory you want to place.

On the main page of Jupyter Notebook, you can select an existing notepad file to edit and run, and you can also use the new button in the upper right corner of the file tab to create a new notepad file. 

Guess you like

Origin blog.csdn.net/weixin_42596333/article/details/104536746