jupyter- use and set up a password

Use
1. Input terminal: jupyter notebook --generate-config generates a configuration file, the file path is displayed (/Users/kyousugi/.jupyter/jupyter_notebook_config.py) after successful
2. Open the configuration file jupyter_notebook_config.py path, find c.NotebookApp.notebook_dir = modify for their own working directory
3. in the terminal input: jupyter notebook to open jupyter, you can write python code web end

password
1. open the browser jupyter, a new python file, first line input: Import from notebook.auth passwd
+ the enter Run 2.shift and go to the next line. The next line enter: passwd (), prompted for a password, enter it twice after the carriage return.
3. hash password sha1: 158c74966eda: 9533217697d0c62f0db43414ec4e06d4072c1cecc2e97d
4. Open the configuration file jupyter_notebook_config.py again, find c.NotebookApp.password = The third step of the hashed password, you can restart jupyter notebook

More technical information may concern: gzitcast

Guess you like

Origin www.cnblogs.com/heimaguangzhou/p/11497573.html