Anaconda comes with notebook, which is essentially a web application. Its purpose is to clean up and convert data, visualize data, machine learning, and support real-time code.
1. Modify the default working directory
1. Enter jupyter-Notebook -- generate-config In the CMD window.
Obtain the path of the notebook configuration file.
2. Open the configuration file (enter the path and press Enter)
3. Find C. notebookapp. notebook_dir.
Remove the note # and change it to the desired path. Note that for windows, the slash \ is used, for Linux, The backslash/
4. The window user also needs to modify the attribute path of the shortcut.
Right-click desktop shortcut-> Properties (if the desktop does not exist, find notebook in the Start menu and right-click to open the file ). Remove % USERPROFILE % from the target box and click OK. Restart to go to your own directory
II.Use
1. Open the display workspace, create a new Python file, or click to open a file and edit it.
2. There are four areas: file name, toolbar, shortcut key, and editing area.
File Name: Click to change directly
Toolbar:
File: new, checkpoint, download
Edit: Copy, paste, delete, merge, and move the cell area
View: View display
Insert: insert Cell
Kernel: Python environment (Version)
Shortcut Key: Save, add cell, copy, cut, move cell, run
Editing area: cell and Output
Jupter-notebook initial experience