Let's say I want to write two modules 'addition.sage' and 'result.sage'.
my sage session:
This gives me the error 'ImportError: No module named addition'.
If result.sage is calling add function from addition.sage, you need to load that file in result.sage.
You can also load the file without giving the path, if you type the following two lines in the beginning of the notebook
posted Dec 21 '11Shashank
1720 ● 8 ● 30 ● 62
Asked: Dec 21 '11
Seen: 98 times
Last updated: Dec 21 '11
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.