ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 31 Oct 2015 20:01:35 +0100Publishing a worksheet that uses moduleshttps://ask.sagemath.org/question/30377/publishing-a-worksheet-that-uses-modules/ I wrote a worksheet in the Sage Notebook. Since it was large, I split it into several modules. So now my worksheet looks like this:
load ("/home/erelsgl/git/myproject/ClassA.sage")
... Do some things with class A ...
The file ClassA.sage looks like this:
load ("/home/erelsgl/git/myproject/ClassB.sage")
... Define class A based on class B ...
This works on my computer, but of course it will not work when I publish it on the cloud.
What is the correct way to write my notebook and its modules such that it will be publishable in the Sage cloud?
Erel Segal-HaleviSat, 31 Oct 2015 20:01:35 +0100https://ask.sagemath.org/question/30377/