ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 22 May 2018 12:39:58 -0500sagews vs jupyter notebook, and choices of kernelshttp://ask.sagemath.org/question/42394/sagews-vs-jupyter-notebook-and-choices-of-kernels/I'm making a few notebooks for educational use and I'm looking for guidance as to what I should be using: a sage worksheet running Jupyter, or a Jupyter notebook. For the most part, I want users to be able to run existing Python programs.
(I also want them to run some Haskell programs, and for this, the choice is clearer: I want the Jupyter notebook because I can set the mode to Haskell.)
I don't see anything here that offers comparisons, and so here are some of the issues on my mind.
I find the Jupyter notebook cell system more to my liking than a sagews. I believe that users would also, but I have no real experience with that.
I think there's more documentation here for the sagews (right?), but there's more out there on the Jupyter notebook.
I'd like some support for simple tables containing text and numbers; nothing fancier. Is there a difference there?
A final issue: is there any difference in terms of displaying html, either in the application itself or in separate windows?
And on a related point: what is the difference between a sagews set up to run a Jupyter kernel via
py3 = jupyter("python3")
and one via
a3 = jupyter("anaconda3")
Is this an orthogonal issue, or is it related to my overall question?
Larry MossTue, 22 May 2018 12:39:58 -0500http://ask.sagemath.org/question/42394/Import Sage Worksheetshttp://ask.sagemath.org/question/41924/import-sage-worksheets/ Hello, I'm looking to be able to modulate my code in the Sage Math cloud. I've done some research on the topic and it seems that one could use the `attach` syntax to bring in the methods from another worksheet. Unfortunately I get the following error when I try to attach the sagews 'test' which is in the same folder as the worksheet I'm working in.
`File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1013, in execute
exec compile(block+'\n', '', 'single') in namespace, locals
File "", line 1, in <module>
File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_salvus.py", line 3443, in attach
raise IOError('did not find file %r to attach' % fname)
IOError: did not find file 'test' to attach`
Can anyone help me with this issue?
Thanks,
Adam
ajmullinsSun, 08 Apr 2018 19:24:28 -0500http://ask.sagemath.org/question/41924/sagews and sws file format specificationhttp://ask.sagemath.org/question/32606/sagews-and-sws-file-format-specification/ Hi
In order to generate programmaticaly sage worksheet files (using a script) I need to check the sagews/sws formats grammar. Is the specification available somewhere? I need a kind of description similar to the IPython notebook format as described [here](https://ipython.org/ipython-doc/3/notebook/nbformat.html).
candideSat, 20 Feb 2016 09:04:22 -0600http://ask.sagemath.org/question/32606/