On Sun, Dec 20, 2015 at 12:47 PM, Volker Braun <vbraun.n...@gmail.com> wrote: > The ticket already has a notice printed that tells you how to run the old > SageNB > > Realistically, since we are switching to a model where notebooks are > individual files there is always going to be somebody who won't read the > hints. We'll have to do *that* switch anyways and it isn't going to be any > easier if we wait.
Notebooks in sagenb are basically individual files; it's just that they are stored as a directory tree in the filesystem. The .sws file that you get when you click "File --> Download" in sagenb is a file. It represents almost exactly the same information as an ipynb file. It is feasible to run a script that you automatically convert the ~/.sage/sagenb* (or whatever) directory into a collection of Jupyter notebooks, say ~/.sage/jupyter. This would make life much easier for users who have collections of notebooks. The hard part is functionality that doesn't map from sagenb to jupyter, e.g., interacts, % modes, etc., etc., I wrote an sws parser, which is here in case anybody takes up automating the above conversion (I won't): https://github.com/sagemathinc/smc/blob/master/src/smc_pyutil/smc_pyutil/sws2sagews.py The > > > On Sunday, December 20, 2015 at 7:52:46 PM UTC+1, Dima Pasechnik wrote: >> >> >> >> On Friday, 18 December 2015 15:27:29 UTC, Volker Braun wrote: >>> >>> IMHO the Jupyter/IPython notebook is a clear winner, no real contest. >>> >>> Nobody prevents you form using SageNB for existing worksheets or the live >>> documentation; But if you start a new worksheet today then you really should >>> be using Jupyter. >>> >>> >>> On Friday, December 18, 2015 at 11:35:53 AM UTC+1, Jeroen Demeyer wrote: >>>> >>>> * Certain features of SageNB are missing: live documentation, >>>> sharing/publishing of worksheets. >>> >>> >>> IMHO sharing is already better, you can just upload the ipynb file >>> anywhere (including http://gist.github.com or any other pastebin) and then >>> share it using the http://nbviewer.ipython.org service. For example: >>> >>> http://nbviewer.ipython.org/url/sagepad.org/pub/sage-test.ipynb >> >> >> Some care will need to be taken, so that we don't have to deal with >> complaints of kind >> >> " I run 'sage -n', and all my worksheets are gone!!! Help!!! " >> >> >>> >>> >>> >>>> * It clutters the file system with .ipynb files. >>> >>> >>> and .ipynb_checkpoints hidden directories. See also: >>> http://trac.sagemath.org/19746 >>> >>> > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. -- William (http://wstein.org) -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.