[sage-support] redirecting input and output to Sage

2016-01-22 Thread Luis Finotti
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 >

Re: [sage-support] Sage on El Capitan

2016-01-22 Thread Ivan Andrus
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

[sage-support] Sage on El Capitan

2016-01-22 Thread Thomas Judson
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

[sage-support] Re: building Software Carpentry "lesson" for Sagemath

2016-01-22 Thread Alexander Konovalov
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

[sage-support] building Software Carpentry "lesson" for Sagemath

2016-01-22 Thread Dima Pasechnik
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