Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Why modify the startup directory of jupyter

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces why to modify the startup directory of jupyter, the article introduces in great detail, has a certain reference value, interested friends must read it!

Why modify the startup directory of jupyter?

The default startup directory of jupyter is C:\ Users\ win10, which results in a lot of inexplicable folders in the working directory after opening jupyter, and it is not conducive to finding the location of the newly created jupyter file.

You can see that the configuration file is a file that ends with a dot py, which is the exclusive file suffix of python.

Double-click the file, prompt can not open this type of file, this is because window notepad can not open py type files, at this time need to install a text editor, this article recommends notpad++ (notpad++ editor installation tutorial has been shared in the previous article, you can view the history article to get, the public "data cobbler" background reply "notpad" to get the installation package. )

Open a configuration file using notpad++

Select the profile, then right-click and left-click the Edit with Notpad++ of the pop-up window

Modify the jupyter default startup directory

Ctrl + f brings up the find dialog box and enter "The directory to use for notebooks" > in the box where you find the target.

Can be located at line 213

Press ctrl+s or save button to save changes

Wind+r enter cmd and then open the command line, enter jupyter notebook and press enter

Then we can create new folders and jupyter files.

Click new-- > python3 to create a new jupyter file

Click new-- > Folder to create a new folder

Click Rename to rename the folder

After clicking the Jupyter Notebook icon, it is found that the pop-up startup directory is still the same as before.

At this time, open it again through the shortcut of jupyter, and the startup directory will be the same as when you started through the command line. The C:\ jupyter customized above has been modified.

The above is all the contents of the article "Why to modify the startup directory of jupyter". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report