| Let's say I want to write two modules 'addition.sage' and 'result.sage'. 'addition.sage' file: 'result.sage' file: 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 |
Asked: Dec 21 '11
Seen: 81 times
Last updated: Dec 21 '11
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.