[sage-support] Re: importing SAGE scripts

2008-10-09 Thread john_perry_usm
Aren't I embarassed. It's the FIRST LINE of the help screen. regards john perry On Oct 9, 12:27 pm, john_perry_usm <[EMAIL PROTECTED]> wrote: > Hi, > > I have a small library of SAGE functions. I've saved it as > somefile.py. I can import it and run it in SAGE using > > >>> import somefile.py >

[sage-support] Re: importing SAGE scripts

2008-10-09 Thread Martin Albrecht
On Thursday 09 October 2008, john_perry_usm wrote: > Hi, > > I have a small library of SAGE functions. I've saved it as > somefile.py. I can import it and run it in SAGE using > > >>> import somefile.py > >>> somefile.read_blah() > > However, this works only as long as somefile.py uses only Python