Re: [sage-support] use load('f.sage') but with namespacing like 'import'

2015-01-02 Thread Dan Drake
On Wed, 31 Dec 2014 at 01:33PM -0600, Dan Drake wrote: > In a .sage script, I can use load('f.sage') to load all the stuff from > f.sage. But all the functions and definitions in f.sage get put into > the same namespace as the script. I'd like to get the kind of > namespace behavior you get when us

[sage-support] use load('f.sage') but with namespacing like 'import'

2014-12-31 Thread Dan Drake
Hi, In a .sage script, I can use load('f.sage') to load all the stuff from f.sage. But all the functions and definitions in f.sage get put into the same namespace as the script. I'd like to get the kind of namespace behavior you get when using the regular Python "import". That is, if f.sage conta