Consider the following files and what sage does with each when they are loaded:
---- foo1.sage ------ def add(a,b): return a+b ------------------------ --- foo2.py--- def add(a,b): return a+b # this is a comment --------------------- --- foo3.sage--- def add(a,b): return a+b # this is a comment --------------------- eno% ./sage ---------------------------------------------------------------------- | Sage Version 4.4.4, Release Date: 2010-06-23 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: load "foo1.sage" sage: load "foo2.py" sage: load "foo3.sage" ------------------------------------------------------------ File "<string>", line 3 # this is a comment ^ SyntaxError: invalid syntax sage: Is the inability to load foo3.sage a bug or a feature? Mariah -- 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