Have you looked at https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tree/master/src/jupyter_contrib_nbextensions/nbextensions? In particular the pop-up scratchpad extension might be what you are looking for.
Regards, Jonathan On Thursday, August 1, 2019 at 1:46:15 AM UTC-5, Brendan Barnwell wrote: > > One thing I really miss in the Jupyter notebook is the ability to create a > "scratch" notebook without having to worry about where the file is located > or what it's named. Often this is for some throwaway task. Sometimes I > may want to save it, but if so, I want to save it later. The problem is > that Jupyter requires me to create the notebook file first, and unless I > explicitly delete it it will stick around in whatever directory I created > it in, creating a clutter of one-off scratchpad notebooks. > > In most ordinary desktop programs (like Word or whatever), you start by > opening a document that is not connected with a file. Later, if you want > to save it, you specify the path and name at that time. Jupyter does this > backwards, where you have to choose the location and filename first before > beginning to edit. > > Is there any way to create a "floating" notebook that is not connected to > an explicitly named file? It's fine if it's secretly connected to a > temporary file somewhere, but the point is I want to be able to hit one > button for "new unnamed notebook" and get a notebook that will silently > disappear (e.g., deleting the temp file) if I don't save it. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/47689bc1-21f2-48d8-b623-68104e5efff5%40googlegroups.com.
