Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hmm, I bet that only Sage and Python know about the DATA variable in the notebook. A workaround is to simply print out the value of DATA in a Sage cell and then cut and paste that.

I tried it, but then ran into a problem of Gap in the notebook not taking very long lines!

Read("/home//notebook/sage_notebook.sagenb/home/kcrisman/5/data/test.txt");
RuntimeError: Gap produced error output
Syntax error: ; expected in ... test.txt line 2

That one I recall but I can't remember if there was a workaround.