N. Virgo
N. Virgo

Reputation: 8439

How to reopen Jupyter notebook if I closed the tab?

This is an extremely basic question. At some point I accidentally closed the window containing my Jupyter notebook tabs. It's gone from my 'recently closed tabs' in Chrome. Is there some way that I can reopen the notebooks corresponding to the currently active kernels?

In case it makes a difference, they are julia kernels, and I started the notebook server by typing notebook() in a julia REPL session.

Upvotes: 7

Views: 13722

Answers (2)

pylang
pylang

Reputation: 44485

If your server is still running, you can still see all previously opened notebooks:

  1. Access your dashboard via the browser (usually http://localhost:8888 by default).
  2. Select the Running Tab (as mentioned by @Quang Hoang).

Example

enter image description here

Upvotes: 12

Florian
Florian

Reputation: 11

As the same happened to me and the first google result was this entry, here is some additional information:

When following the url posted above (http://localhost:8888), you may be asked for a password or token, the latter of which you will find either in the Jupyter terminal window (also providing you with the direct notebook url):

Jupyter terminal screenshot

, or, if using Anaconda, by opening the "Anaconda Prompt" and entering jupyter notebook list.

Upvotes: 1

Related Questions