ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 31 Mar 2015 10:23:16 -0500notebook versus terminal sessionhttp://ask.sagemath.org/question/26396/notebook-versus-terminal-session/ Can someone point me to some explanation why I would use a notebook rather than a terminal session?
Someone has gone to a lot of work to make the notebooks, and I don't understand why, as I like to be able to
paste a sage file, or parts of it, into a "verbatim" environment in TeX so a reader could duplicate the computations.
Is it that a notebook can be used to make an interactive web page?Tue, 31 Mar 2015 10:05:44 -0500http://ask.sagemath.org/question/26396/notebook-versus-terminal-session/Answer by Luca for <p>Can someone point me to some explanation why I would use a notebook rather than a terminal session?
Someone has gone to a lot of work to make the notebooks, and I don't understand why, as I like to be able to
paste a sage file, or parts of it, into a "verbatim" environment in TeX so a reader could duplicate the computations.
Is it that a notebook can be used to make an interactive web page?</p>
http://ask.sagemath.org/question/26396/notebook-versus-terminal-session/?answer=26400#post-id-26400The notebook is all about the web. Everything you can do at the terminal, you can do in the notebook. And _vice versa_. Some things, are just more nicely shared via a notebook. See http://nbviewer.ipython.org/ (not Sage, but close enough).
Other good reasons to use notebooksâ€Ż:
- teaching,
- making computations in the cloud, see https://cloud.sagemath.com
- e-research, see https://www.authorea.com/users/3/articles/3434
- the list goes on.
Personally, I always use the terminal for personal or one shot computations, and Sage inside an IPython notebook for collaborating and sharing.Tue, 31 Mar 2015 10:23:16 -0500http://ask.sagemath.org/question/26396/notebook-versus-terminal-session/?answer=26400#post-id-26400Answer by kcrisman for <p>Can someone point me to some explanation why I would use a notebook rather than a terminal session?
Someone has gone to a lot of work to make the notebooks, and I don't understand why, as I like to be able to
paste a sage file, or parts of it, into a "verbatim" environment in TeX so a reader could duplicate the computations.
Is it that a notebook can be used to make an interactive web page?</p>
http://ask.sagemath.org/question/26396/notebook-versus-terminal-session/?answer=26399#post-id-26399This question should attract a number of different answers. My take:
Similar closed-source programs have (very successful) notebook-type interfaces, and people find it very useful for organizing and presenting. So we created one too, for those who like that. (Which is a lot of people.) Tue, 31 Mar 2015 10:19:41 -0500http://ask.sagemath.org/question/26396/notebook-versus-terminal-session/?answer=26399#post-id-26399