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.Wed, 10 Jun 2015 06:43:12 -0500Organizing files in Sage Cloud/moduleshttp://ask.sagemath.org/question/27081/organizing-files-in-sage-cloudmodules/ I am working in sage cloud, in a worksheet (sagews). I wrote some classes and methods so far and I wish to keep them separated from my new code/organize my projects in files that I can import from.
I want something like
file Resources.(.py? .sage? .sagews?) with classes Foo, Foo2, Foo3
and to use this in a new spreadsheet:
<code>
from Resources import Foo2
</code>
While this seems like a basic question, the only thing I could discover on this topic was a similar unanswered question: http://ask.sagemath.org/question/26040/import-module-from-another-file-in-cloud/
How do I do this? How do I split a project in several files(modules?) that I could import from?
WizqWed, 10 Jun 2015 06:43:12 -0500http://ask.sagemath.org/question/27081/