ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 07 Apr 2017 12:34:45 -0500Import class using mathematicahttp://ask.sagemath.org/question/37229/import-class-using-mathematica/I have a class a in a file a.sage using the interface to mathematica. I want to use this class in another class b.
One way I found was to run first "mv a.sage a.py", which generates a python file. But then I get the error: "NameError: global name 'mathematica' is not defined" because you cannot use mathematica in python as you can use it with sage.
Is there a way importing a self-written class (a.sage) using mathematica in another self-written class (b.sage)?sageUserFri, 07 Apr 2017 12:34:45 -0500http://ask.sagemath.org/question/37229/