>From the Sage interactive shell, I can load or attach a script "test.sage" 
that just has the two lines print(factor(2006)) and print(factor(32*x^5)), 
and it runs exactly as expected with no errors! Furthermore, I can't find a 
test.sage.py on my system, which I like but confuses me 
<http://doc.sagemath.org/html/en/tutorial/programming.html#section-loadattach>. 
I suppose I should have tried this earlier, so thanks very much for your 
suggestion. This is actually better than what I had in mind, because now I 
just need to load Sage once and not every time I run a script.

I'm going to hold off on marking this as complete for a little bit, in case 
anyone has a idea what my Sage is behaving so differently from what the 
tutorials expect.

-- 
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to