I was wondering how to have my scripts preparsed: now i know. And i
need to tell emacs that a .sage file needs to be treated like a .py
file...

a problem with .sage files though is that the import command doesn't
work with them (foo.sage is not found by either 'import foo' or
'import foo.sage'). I *know* there is the 'load' or the 'attach'
command instead, but really i prefer import, because of what it does
with namespaces: having 'foo.f()' is less likely to clash with f()...
same with variables.

pierre


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to