Stanley
Stanley

Reputation: 2806

Reloading closed jupyter notebook

Was trying to run the code in jupyter which runs fine:

import time

for i in range(10000):
     print(i)
     time.sleep(1)

After it prints to around 1,2,3,4,5,6 , I decided to close the browser. However when I reopened the browser, the output is still stuck at 6. I was wondering if there's a way to keep the kernel running and update the output when the notebook is reloaded in the browser after it is closed.

Upvotes: 4

Views: 3294

Answers (1)

night_bat
night_bat

Reputation: 3232

As far as I know, there is no way to restore it. Kernel is still running, but the browser will not update itself.

Upvotes: 3

Related Questions