Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote

I just started using Cadabra software. I want to know is it possible to call a saved Cadabra notebook into a new one? If it is possible, can anyone suggest to me how to call it? particularly how to give a pathway in the new one about the saved notebook location?

in Feature requests by (210 points)

1 Answer

+2 votes

Cadabra notebooks are treated as normal python modules when importing them into other notebooks. So you can have one notebook one.cnb and then from another one do

import one

just like you would in Python. The standard rules for importing modules hold, in particular that you need to have the one.cnb somewhere in the PYTHONPATH (or sys.path).

For some more details see https://cadabra.science/notebooks/ref_import.html

by (83.1k points)
...