.sage files are not meant to be used like normal Python modules. You
can only load or attach them. I implemented this in 2005, when I was
basically "implementing something like Magma" on top of Python. I'm not sure
this is good or bad, but I definitely find
sage: attach file.sage
to be
On Wed, Nov 2, 2011 at 3:22 AM, Laurent wrote:
>> Hi,
>>
>> I think its a issue of parsing. If your file is called hello.py it
>> gives the errors you mentioned. However if you call your file
>> hello.sage it works. If you call your file hello.sage and run
>>
>> sage hello.sage
>>
>> it generates
Hi,
I think its a issue of parsing. If your file is called hello.py it
gives the errors you mentioned. However if you call your file
hello.sage it works. If you call your file hello.sage and run
sage hello.sage
it generates a hello.py which I append below -
I know that, but I never understood