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 how to use it because if my file is
named hello.sage, I cannot do
import hello.sage
in an other file. But if it is named hello.py, I can write
import hello
I admit I never got trough the doc about that issue ;)
Laurent
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org