I'm having a hard time understanding how redirecting input and output works
with Sage.
I have a file, tmp.sage, with the following content:
import time
for i in range(6):
print i
time.sleep(10)
If I start sage and issue "load('tmp.sage')", it runs as expected.
If I do
sage < tmp.sage >
On Jan 22, 2016, at 9:29 AM, Thomas Judson wrote:
I have a MathBook XML script that calls sage to build diagrams for a book,
and I would be able to call sage from any directory. The correct way to do
this would be to make a symbolic link. However, I get the following:
ln -s /Applications/SageM
I have a MathBook XML script that calls sage to build diagrams for a book, and
I would be able to call sage from any directory. The correct way to do this
would be to make a symbolic link. However, I get the following:
ln -s /Applications/SageMath-6.10.app/Contents/Resources/sage/sage
/usr/lo
Thank you, Dima,
> On 22 Jan 2016, at 09:49, Dima Pasechnik wrote:
>
> Software Carpentry, see http://software-carpentry.org, is a charity that does
> "Teaching basic lab skills for research computing". But goes beyond that;
> their workshops can include more nontrivial components, e.g. recent
Software Carpentry, see http://software-carpentry.org, is a charity that
does "Teaching basic lab skills for research computing". But goes beyond
that; their workshops can include more nontrivial components, e.g. recently
GAP people conducted such an introductory GAP workshop:
https://kkwakwa.gi