robin wrote:

     > Can anyone advise?  I am very very very reluctant to
     > adopt the ghastly "**" notation.

    If you want your file to get preparsed (such that the Sage preparser
    replaces '^' by '**' "internally" when you load or run the file with
    'sage'), simply rename your file to "f.sage".

    Similar holds for '.pyx' vs. '.spyx'; the latter first gets preparsed.



thanks for this Leif.  Where do I look for documentation of this issue?
The help page for load() discusses file extensions but does not mention
preparsing.

See for example

http://sagemath.org/doc/tutorial/programming.html#loading-and-attaching-sage-files

or type 'preparse?<RETURN>' at the 'sage:' prompt.

The documentation for 'load' (type 'load?') also refers to 'attach', whose documentation is more explicit regarding filename extensions.


-leif

--
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to