First time here? Check out the FAQ!
answered 11 years ago
Works here:
/tmp/tmpf6hj9C» cat b.sage #!/usr/bin/env sage from sage.all_cmdline import * xy = 2; print xy /tmp/tmpf6hj9C» cat a.sage #!/usr/bin/env sage import b from sage.all_cmdline import * xx = 2; print xx, b.xy /tmp/tmpf6hj9C» ./a.sage 2 2 2