Hi, On Tue, Nov 06, 2018 at 01:14:14PM +0100, Erik Bray wrote: > On Tue, Nov 6, 2018 at 12:57 PM Jeroen Demeyer <j.deme...@ugent.be> wrote: > > > > On 2018-10-31 22:23, Volker Braun wrote: > > > With ipython/jupyter you can't run the notebook in the current Python > > > session, but you can just launch a completely new process. > > > > Are you sure? Can't you just import the Jupyter application as a Python > > package and run it that way? I have not tried it though... > > I think you could, but then running notebook() would have to > completely take over the current Sage session. I don't know if that's > its current behavior or not. I don't know if it will work well to run > the Jupyter event loop in a thread given the limitations of Python > threading but I haven't tried...
In any case, i think that the notebook() function should first see if they are old-style notebooks to export to ipynb (as "sage -n" does currently). Ciao, Thierry > -- > 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. -- 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.