0

Can I make Jupyter notebook file (.ipynb) without open the notebook? like when you make any extention just write the extention in the file explorer's floder after that it convert to that kind of file. i have tried it but it didn't work. i just want to make .ipynb at another root folder in file explorer, because of that i don't want to make it on Jupyter notebook directly because jupyter notebook itself always open the default (C:/... ) folder and i don't know how to open the other path (i have tried "open from path", but it didn't work as well), i want to make .ipynb in documents folder

3
  • Is this what you're looking for? How to create and open a jupyter notebook ipynb file directly from terminal. I don't use Jupyter very much myself, but I found that by googling "create blank ipynb". Commented Jul 29, 2024 at 2:29
  • BTW, welcome to Stack Overflow! Check out the tour, and How to Ask for tips like starting with your own research. Commented Jul 29, 2024 at 2:30
  • You can make a Jupyter notebook file with an .ipynb extension on the command line or Python interpreter console using nbformat. See here, as there is a step where a new notebook is made via Python code. You can just leave out putting in the content. nbformat is part of the underlying tech that Jupyter uses and so if it is installed, you can use it. Then you don't need to actually open Jupyter Notebook or JupyterLab to make a .ipynb file. In the guide wjandrea references, you should look into what it says about making a good title, too. Commented Jul 29, 2024 at 3:57

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.