Opening .sage files within other files
Hi,
I'm trying to create a project in Sage and ultimately want to run all my .sage files to get things going. So I want to have one run.sage file which I can load from the Sage command line:
load /SAGE_ROOT/Project/run.sage.
This works beautifully if I have all my functions and classes defined in this one file. Ideally I want to have this one file open all my other files so that I can be more modular in my coding.
But this load command doesn't work when it's within a file. Why? I have tried sage_eval and eval.... but it's not working. It tells me it does not recognize the path or something....
Any tips?
Thanks.
I've not tried such a thing, but you might look at this post for some ideas: http://ask.sagemath.org/question/418/how-to-organize-multifile-project