Hi Jose! On 4 Apr., 12:50, Jose Guzman <[email protected]> wrote: > Although I love the notebook() option, I would like to start using Sage > more from the command line. Using Sage to import *.sage scripts is > relatively easy, but I found problems when I try to define a function in > the command line. For example, if I do: > > $ ./sage -ipython -nobanner
I would not consider this as "using sage from the command line". Why don't you run sage, i.e., $ ./sage There, the preparser is automatically active (in contrast to ./sage - ipython), and thus constructions like R.<x,y> = QQ[] or f(x) = sin(x) or other things relying on the preparser just work. Cheers, Simon -- 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-support URL: http://www.sagemath.org To unsubscribe, reply using "remove me" as the subject.
