Ask Your Question

Revision history [back]

You have to import what is used in the file. For this, there is a nice tool:

sage: import_statements("var")
from sage.calculus.var import var

then you just have to copy-paste from sage.calculus.var import var in the beginning of your file.