Jupyter Notebook "save as..." => file can not be opened - python

I have saved a jupyter notebook code yesterday with "save as" and it's name on my computer desktop. I wanted to open i today on jupyter notebook but this is not anymore a jupyter notebook. It is just a code without any operations in it.
Is there something, where i can get it to jupyter notebook again?

just rename the file with a .ipynb extension then Jupyter or VScode will recognize it as an actual notebook.

Related

Can´t make jupyter notebook work in Anaconda

On my windows PC, i have Anaconda installed, but today i could not open Jupyter Notebook correctly. When i use these commands to set up an enviornment, i can open the Jupyter notebook.
conda activate [name_of_the_environment]
jupyter notebook
The error occurs when internet explorer opens the Jupyter notebook, because i can't access to my ipynb files or any other. The page just stays like this (in blanc, like it does not end loading):
Internet explorer general site
Trying to open a file
I am not having any connection problems and this happens regardless of the file size.
I also tried updating Anaconda, but it didn´t work.
Code written in the terminal:
Code

How to run GitHub project in a Jupyter Notebook?

I try to run this code in my own computer: https://github.com/ThaiPham27/Depression_Detection_DNN
I've downloaded the zip file but I have no idea how can I run this code in Jupyter notebook and get the output. I couldn't find any complete guide for that.\
I have Python 3.9 on Windows 10.
you can only run notebook file on Jupyter Notebook, and the extension of notebook files is ".ipynb"
And you need to have jupyter notebook on your system, or you can download Anaconda package for that.
P.S: I also briefly looked into the notebook, seems like it was setup for Google Colab as it is using some CSV from google drive.

Is there a one-click shortcut for executing all jupyter notebooks opened in the browser?

Is there a one-click shortcut for executing all jupyter notebooks opened in the browser? I do not mean just to execute all the cells in one of the jupyter notebook, but to execute all the cells in all of the jupyter notebooks at the same time. Thank you.

Error While Launching jupyter Notebook

I am using Python 3.4 version and when I am trying to open the jupyter Notebook the explorer does open but it displays a link in the explorer like this and after that nothing happens.I am not able to view anything in the explorer
http://localhost:8823/tree?token=27c7f7543497392b736e1f2b74f1d6af93c2065dcbe67c61
What should I do to see the proper jupyter notebook? thanks in advance
You can just retype the url to
http://localhost:8823
If it still show nothing, try to run it on another non empty directory
jupyter notebook --notebook-dir="C:\another directory"
I typed jupyter notebook list on the annaconda prompt , it then gave me a list of all the currently running servers.
i copied one of the servers in the chrome window and it worked

Why doesn't Jupyter notebook command open notebook?

When I write jupyter notebook in terminal it doesn't open notebook, it opens Jupyter tree. What can be the problem?
The command you give should open Jupyter in the filesystem view first. You then navigate from there to a notebook and double-click that, which will open the notebook in a new browser tab.
Question: When I write jupyter notebook in terminal it doesn't open notebook, it opens Jupyter tree. What can be the problem?
Answer: You missed the path for the notebook (say, notebook_to_open.ipynb).
Try again with command like this:
(windows)
jupyter notebook c:/path/to/your/notebook_to_open.ipynb
(linux)
jupyter notebook ~/path/to/your/notebook_to_open.ipynb

Categories

Resources