They have a tool, nbmerge, to merge notebooks.
https://github.com/jupyter/nbconvert/issues/253

Beyond this, no, you really would need to have code either in *.sage file,
and load() it in a Sage notebook,
or have a *.py file, and import it in the usual Python way.

HTH
Dima

On Sun, Sep 26, 2021 at 9:31 AM Henri Girard <henri.gir...@gmail.com> wrote:

> Hi,
>
> Iq there a way to import function from a sage notebook to another notebook
> ?
>
> I have long graphic one about 30 lines and I would like to show the
> graphic in another notebook, like with an attach method "show(g)" with
> import  and be able to add functions ?
>
> Any help welcome
>
> best
>
> Henri
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/8d263aea-08c8-20b5-d412-b5db2bcc7ca0%40gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq3DBOv848FhPQ1Z26nyv%2B6N5B4kbcHWLnFeMtuZO%3DDF%2Bg%40mail.gmail.com.

Reply via email to