In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
How to quickly open jupyter notebook in the specified folder, many novices are not very clear about this, in order to help you solve this problem, the following small series will explain in detail for everyone, people who have this need can learn, I hope you can gain something.
A lot of friends use python editor or jupyter notebook, there may be a problem.
That is, the default storage path of jupyter notebook is in C disk, while our python script is in other file locations, so it is very troublesome to run it.
So I want to be able to quickly open jupyter notebook in the specified folder. At present, the common method is to execute the following statement in the CMD command window.
jupyter notebook Specify the folder path
execution graph
Is there an easier and faster way?
some
For example, my D:\python_code directory is currently shown below, and now I want to quickly open jupyter notebook under that path.
Just enter jupyter notebook and press Enter in the file path above.
We will find that jupyter notebook has been automatically opened and the working path is exactly the D:\python_code we need.
Prerequisites This method requires only one prerequisite, that is, add anaconda to path environment is checked during anaconda installation.
Of course, if there is no check box at that time, you can also search for how to add environmental variables.
The above steps have been simplified to just two words.
But we have to enter such a long word, if we are not careful, we might enter it wrong. Therefore, Xiaowu was prepared to be lazy further. He could set the word jupyter notebook as a common phrase.
Take Sogou input method as an example, open Toolbox-Attribute Settings-Advanced-Custom Phrase Settings, set phrases as shown in the figure below. As for abbreviation characters, you can fill them in according to your preferences.
With this setup, I only need to type the three letters jup, and the input method will display the candidate word jupyter notebook.
Select the phrase, then enter, it is easy to open the jupyter notebook, is not easier.
Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.