Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 598
N. Virgo Avatar asked May 21 '19 01:05

N. Virgo


People also ask

Does Jupyter notebook keep running after closing browser tab?

TL;DR: Code doesn't stop on tab closes, but the output can no longer find the current browser session and loses data on how it's supposed to be displayed, causing it to throw out all new output received until the code finishes that was running when the tab closed.

How do I go back to the last checkpoint in Jupyter notebook?

Jupyter will save checkpoints of your notebook from time to time, and if you realize you need to revert your whole file back to an earlier version, you can do that with the “Revert to Checkpoint” button.


1 Answers

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

like image 164
pylang Avatar answered Sep 27 '22 22:09

pylang